]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit40f6b36c6243462fb95d0343237331c423494b03
tree456b78c5647684527e0104463dd45b8e93ea9d81
parentd35055a0f2637f29f95001a67b464fe833b09ebc
[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