public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Proposals to change the way all drivers work with SCSI commands
@ 2007-05-11 18:33 James Bottomley
  2007-05-11 18:42 ` FUJITA Tomonori
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: James Bottomley @ 2007-05-11 18:33 UTC (permalink / raw)
  To: linux-scsi

Right at the moment, we're planning to clean up the way SCSI drivers
process commands.  The proposals are essentially:

     1. Get rid of the now unnecessary map_single path (every command is
        either zero transfer or scatter/gather)
     2. use accessors to manipulate the SG lists (mainly so that we can
        alter the implementation without affecting the drivers)

It strikes me that in all of this, we could also consider doing the DMA
mapping inside the mid layer (instead of in every driver).  This is
essentially what libata is already doing ... leading to confusion in
SCSI drivers that use libata for SATA.

So what do people think about this?

James



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

end of thread, other threads:[~2007-05-12 15:52 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-11 18:33 Proposals to change the way all drivers work with SCSI commands James Bottomley
2007-05-11 18:42 ` FUJITA Tomonori
2007-05-11 19:15 ` Jeff Garzik
2007-05-11 19:49   ` James Bottomley
2007-05-11 20:10     ` Jeff Garzik
2007-05-11 20:00 ` David Miller
2007-05-11 21:12   ` James Bottomley
2007-05-11 21:21     ` David Miller
2007-05-11 21:36       ` James Bottomley
2007-05-11 21:47         ` David Miller
2007-05-11 21:52           ` James Bottomley
2007-05-11 21:20 ` Stefan Richter
2007-05-11 21:30   ` Kristian Høgsberg
2007-05-11 21:58     ` Stefan Richter
2007-05-12  6:35 ` Muli Ben-Yehuda
2007-05-12  9:12 ` Heiko Carstens
2007-05-12 13:04   ` James Bottomley
2007-05-12 15:29 ` Christoph Hellwig
2007-05-12 15:50   ` James Bottomley
2007-05-12 15:52     ` Christoph Hellwig

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