[PATCH 0/19] clean ups on the drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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).
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux