]> 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)
commit637e482a46c89d1e9fb4bc8c5caa3a46aaae5853
tree84dbeb309cebaec54b09314850474789041737b4
parent67228bb21c05c5f1fe363029d021d1e13b823609
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