]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] st: add option to use SILI in variable block reads
authorKai Makisara <Kai.Makisara@kolumbus.fi>
Sun, 24 Feb 2008 20:23:24 +0000 (22:23 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 7 Apr 2008 17:15:39 +0000 (12:15 -0500)
commit407ab53d222a4c242afc939d7cbc09d499cc271b
tree456b78c5647684527e0104463dd45b8e93ea9d81
parent6607c9453da84aff33629f33a5dbba0e32fcf16b
[SCSI] st: add option to use SILI in variable block reads

Add new option MT_ST_SILI to enable setting the SILI bit in reads in variable
block mode. If SILI is set, reading a block shorter than the byte count does
not result in CHECK CONDITION. The length of the block is determined using the
residual count from the HBA. Avoiding the REQUEST SENSE command for every
block speeds up some real applications considerably.

Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Documentation/scsi/st.txt
drivers/scsi/st.c
drivers/scsi/st.h
drivers/scsi/st_options.h
include/linux/mtio.h