]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteece0fa53a6dcf14098b33daf36a46d435e6e562
tree9e05bfd495e4acc8e2241fe685cca166d1033acf
parente4ff09b90aa0a727a007f5f68cc21c9cafc1db14
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