]> git.baikalelectronics.ru Git - kernel.git/commit
scsi_debug: add Report supported opcodes+tmfs; Compare and write
authorDouglas Gilbert <dgilbert@interlog.com>
Tue, 25 Nov 2014 02:27:12 +0000 (21:27 -0500)
committerChristoph Hellwig <hch@lst.de>
Tue, 25 Nov 2014 14:42:57 +0000 (15:42 +0100)
commitff6111543594f3abe6010b705eb0592700b2302a
tree84dbeb309cebaec54b09314850474789041737b4
parentcbc8fdc1599658aed1960af54f90556ed64dd32d
scsi_debug: add Report supported opcodes+tmfs; Compare and write

The Report supported operation codes command is very closely integrated
into the table driven parser and very useful for testing it. Its cdb
masks form the basis of the 'strict' parameter's checks. The Report
supported TMFs command is a simple extension. The Compare and write
command may even be useful, as it should be atomic due to the read-write
lock that the driver uses on its backing store (ram).

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