target: Update QUEUE ALGORITHM MODIFIER control page default
authorNicholas Bellinger <nab@linux-iscsi.org>
Sun, 17 Jul 2011 09:57:58 +0000 (02:57 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 22 Jul 2011 09:37:49 +0000 (09:37 +0000)
commit5de619a31d9cb051d1f818e661af4e54def82316
treebbdf282c42fe3818607fff4f3a4f7d1b74ee064e
parent1d20bb6147954d4fbd337a3d1b40c7eeae254cd7
target: Update QUEUE ALGORITHM MODIFIER control page default

This patch adds the default 'Unrestricted reordering allowed' for SCSI
control mode page QUEUE ALGORITHM MODIFIER on a per se_device basis in
target_modesense_control() following spc4r23.  This includes a new
emuluate_rest_reord configfs attribute that currently (only) accepts
zero to signal 'Unrestricted reordering allowed' in control mode page
usage by the backend target device.

Reported-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>
drivers/target/target_core_cdb.c
drivers/target/target_core_configfs.c
drivers/target/target_core_device.c
include/target/target_core_base.h
include/target/target_core_device.h
include/target/target_core_transport.h