]> err.no Git - linux-2.6/commit
[SCSI] add retries field to request for REQ_BLOCK_PC use
authorMike Christie <michaelc@cs.wisc.edu>
Fri, 11 Nov 2005 11:31:37 +0000 (05:31 -0600)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 15 Dec 2005 03:04:11 +0000 (19:04 -0800)
commit17e01f216b611fc46956dcd9063aec4de75991e3
treee8864490fddd1d67c7911101a1446709ec21720e
parent6e68af666f5336254b5715dca591026b7324499a
[SCSI] add retries field to request for REQ_BLOCK_PC use

For tape we need to control the retries. This patch adds a retries
counter on the request for REQ_BLOCK_PC commands originating from
scsi_execute* to use. REQ_BLOCK_PC commands comming from the block
layer SG_IO path continue to use the retires set in the ULD init_command.
(scsi_execute* does not set the gendisk so we do not execute
the init_command in that path).

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_lib.c
include/linux/blkdev.h