public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* SCSI io_request_lock patch
@ 2001-11-12 21:09 Jonathan Lahr
  2001-11-13  8:23 ` [Lse-tech] " Jens Axboe
  0 siblings, 1 reply; 7+ messages in thread
From: Jonathan Lahr @ 2001-11-12 21:09 UTC (permalink / raw)
  To: linux-kernel, linux-scsi, lse-tech


This is a request for comments on the patch described below which 
implements a revised approach to reducing io_request_lock contention 
in 2.4.

This new version of the io_request_lock patch (siorl-v0) is available
at http://sourceforge.net/projects/lse/.  It employs the same
concurrent request queueing scheme as the iorlv0 patch but isolates 
code changes to the SCSI subsystem and engages the new locking scheme 
only for SCSI drivers which explicitly request it.  I took this more 
restricted approach after additional development based on comments from 
Jens and others indicated that iorlv0 impacted the IDE subsystem and
was unnecessarily broad in general.

The siorl-v0 patch allows drivers to enable concurrent queueing through 
the concurrent_queue field in the Scsi_Host_Template which is copied to 
the request queue.  It creates SCSI-specific versions of generic block 
i/o functions used by the SCSI subsystem and modifies them to conditionally 
engage the new locking scheme based on this field.  It allows control over 
which drivers use concurrent queueing and preserves original block i/o 
behavior by default.

I tested this patch with aic7xxx and lpfc drivers, and regression tested 
it with IDE disk and CDROM drivers.  Any feedback would be appreciated.

Thanks,
Jonathan

-- 
Jonathan Lahr
IBM Linux Technology Center
Beaverton, Oregon
lahr@us.ibm.com
503-578-3385


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-11-15 18:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-12 21:09 SCSI io_request_lock patch Jonathan Lahr
2001-11-13  8:23 ` [Lse-tech] " Jens Axboe
2001-11-13 18:42   ` Jonathan Lahr
2001-11-14  8:11     ` Jens Axboe
2001-11-14 18:54       ` Jonathan Lahr
2001-11-15 10:23         ` Jens Axboe
2001-11-15 18:15           ` Jonathan Lahr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox