]> git.openfabrics.org - ~emulex/infiniband.git/commit
scsi_debug: append inject error flags onto scsi_cmnd object
authorDouglas Gilbert <dgilbert@interlog.com>
Tue, 25 Nov 2014 01:18:02 +0000 (20:18 -0500)
committerChristoph Hellwig <hch@lst.de>
Tue, 25 Nov 2014 14:42:56 +0000 (15:42 +0100)
commit817fd66beb779dbbe44c46dd11e64d8275efb593
treee57cf120d2634f2c55ef42b039ae892aa5209b9e
parent22017ed2de64b8f7a2ec0abe59dd6ca92f693391
scsi_debug: append inject error flags onto scsi_cmnd object

The way the existing scsi_debug command parser associated various
inject error flags to a command was difficult to replicate in the
table driven parser. This patch adds infrastructure to append those
flags to the end of a scsi_cmnd object with the cmd_size host
template option.

Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/scsi_debug.c