public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/19] clean ups on the drivers
@ 2007-05-12 10:05 FUJITA Tomonori
  2007-05-12 15:30 ` Christoph Hellwig
  0 siblings, 1 reply; 13+ messages in thread
From: FUJITA Tomonori @ 2007-05-12 10:05 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi, jens.axboe

Hi,

This patchset cleans up 9 scsi drivers, ipr, ibmvscsi, fusion,
aic7xxx, qla2xxx, lpfc, aacraid, BusLogic and aic79xxx.

- remove the now unnecessary map_single path.

- convert to new accessors for the scsi data buffer, the sg lists,
bufferlen, resid.

There are two patches for each driver, removing the non-use-sg code
and converting to use the accessors.

You can find the new accessors in the first patch. It includes
scsi_dma_map/unmap (calling dma_map/unmap_sg) that Christoph proposed
long ago and several macros (like scsi_for_each_sg, scsi_bufflen, etc)
to isolate the driver from the sg lists and the parameters.

This is in preparation for chaining sg lists and bidirectional
requests and possibly the mid-layer dma mapping, which has been
discussed. scsi_for_each_sg will be converted to use Jens' chaining sg
lists (for_each_sg) when it's ready. Jens, sorry about overlapping
with the chaining sg lists patches for the SCSI drivers.

I tested the patches lightly, booting machines and performing some
I/Os for few minutes.

This patchset can be applied cleanly to the scsi-misc or Linus' tree.

If this looks ok, I try to clean up the rest of the drivers (though I
can only do compile tests).

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

end of thread, other threads:[~2007-05-22 23:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-12 10:05 [PATCH 0/19] clean ups on the drivers FUJITA Tomonori
2007-05-12 15:30 ` Christoph Hellwig
2007-05-13  3:30   ` FUJITA Tomonori
2007-05-14 14:40   ` FUJITA Tomonori
2007-05-14 15:39     ` Stefan Richter
2007-05-14 22:36       ` FUJITA Tomonori
2007-05-15  9:01       ` Christoph Hellwig
2007-05-15 11:54         ` James Bottomley
2007-05-15 11:57           ` Christoph Hellwig
2007-05-15 16:57             ` James Bottomley
2007-05-15 20:37               ` David Miller
2007-05-15 20:49                 ` James Bottomley
2007-05-22 23:32     ` FUJITA Tomonori

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