]> git.karo-electronics.de Git - linux-beck.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)
commit38d5c8336e60bf6e53a1da9586befe82fa75171b
tree84dbeb309cebaec54b09314850474789041737b4
parentc2248fc974df7be55a5f6db6b6f99a90b749581b
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