Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 1995 03:30:03 -0700
From:      Peter Dufault <dufault@hda.com>
To:        freebsd-bugs
Subject:   kern/387: scsistrategy doesn't use bounce buffers
Message-ID:  <199505071030.DAA14446@freefall.cdrom.com>
In-Reply-To: Your message of Sun, 7 May 1995 06:25:53 -0400 <199505071025.GAA17670@hda.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>Number:         387
>Category:       kern
>Synopsis:       scsistrategy doesn't use bounce buffers
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May  7 03:30:01 1995
>Originator:     Peter &
>Organization:
Peter Dufault               Real Time Machine Control and Simulation
HD Associates, Inc.         Voice: 508 433 6936
dufault@hda.com             Fax:   508 433 5267
>Release:        FreeBSD 2.1.0-Development i386
>Environment:

	

>Description:

The scsistrategy function used by the user ioctl doesn't allocate bounce
buffers.  I don't understand what the BOUNCE code in
scsi_scsi_cmd is doing, so I'm not just going to add in a call
to vm_bounce_alloc until I have the time to look at it.

>How-To-Repeat:

	

>Fix:
Probably add

	/*      
	 * Use a bounce buffer if necessary
	 */      
#ifdef BOUNCE_BUFFERS
	if (sc_link->flags & SDEV_BOUNCE)
		vm_bounce_alloc(bp);
#endif

before scsi_scsi_cmd in scsi_ioctl.c
>Audit-Trail:
>Unformatted:





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505071030.DAA14446>