target: Add emulation for MODE SELECT
authorRoland Dreier <roland@purestorage.com>
Wed, 31 Oct 2012 16:16:50 +0000 (09:16 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 7 Nov 2012 04:55:46 +0000 (20:55 -0800)
commit3a3c5e4a672c5cd61cbdcedcd027312577f9ab7c
tree9e05bfd495e4acc8e2241fe685cca166d1033acf
parent0f6d64cee9c518f5d3138a90cead62fba2031074
target: Add emulation for MODE SELECT

This is another thing that compliance tests try, and it's easy to
implement on top of the MODE SENSE refactoring; since we don't claim
to support any changeable values, all we need to do is check that
the page contents sent by the initiator match what we would return.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_spc.c