Re: unify SCSI_IOCTL_SEND_COMMAND implementations

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

 



On Wed, Mar 22 2006, Christoph Hellwig wrote:
> We currently have two implementations of this obsolete ioctl, one in
> the block layer and one in the scsi code.  Both of them have drawbacks.
> 
> This patch kills the scsi layer version after updating the block version
> with the missing bits:
> 
>  - argument checking
>  - use scatterlist I/O
>  - set number of retries based on the submitted command
> 
> This is the last user of non-S/G I/O except for the gdth driver, so
> getting this in ASAP and through the scsi tree would be nie to kill
> the non-S/G I/O path.  Jens, what do you think about adding a check
> for non-S/G I/O in the midlayer?

Looks good to me. Are cdrom/sr sg clean as well?

-- 
Jens Axboe

-
: 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