Re: [PATCH] scsi_execute_async should take a struct scatterlist *

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

 



On Sat, Nov 04, 2006 at 08:14:40PM +0100, Christoph Hellwig wrote:
> Crrently scsi_execute_async takes a void *buffer argument that can
> be either interpreted as a kernel buffer or scatterlist pointer
> depending on what the use_sg argument is set to.  There is no user
> of the use_sg == 0 kernel buffer case and we should remove it in
> favour of type safety.
> 
> And yes, long-term we should get rid of the current scsi_execute_async
> interface entirely, struct scatterlist * doesn't make sense as a data
> structure above the block layer.

Actually I just noticed osst is using the non-sg variant.  patch
withdrawn.

-
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