summaryrefslogtreecommitdiffstats
path: root/drivers/target/iscsi/iscsi_target_nodeattrib.h
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2014-12-14 01:47:19 -0800
committerNicholas Bellinger <nab@linux-iscsi.org>2014-12-15 20:38:33 -0800
commitd16ca7c5198fd668db10d2c7b048ed3359c12c54 (patch)
tree84f8eafe8c51c3489634ec1d34cea209c74cda7f /drivers/target/iscsi/iscsi_target_nodeattrib.h
parentee8e3ad96e04749aa043c7fcb7fe6a562f8b9c48 (diff)
downloadtalos-obmc-linux-d16ca7c5198fd668db10d2c7b048ed3359c12c54.tar.gz
talos-obmc-linux-d16ca7c5198fd668db10d2c7b048ed3359c12c54.zip
target: Fix R_HOLDER bit usage for AllRegistrants
This patch fixes the usage of R_HOLDER bit for an All Registrants reservation in READ_FULL_STATUS, where only the registration who issued RESERVE was being reported as having an active reservation. It changes core_scsi3_pri_read_full_status() to check ahead of the list walk of active registrations to see if All Registrants is active, and if so set R_HOLDER bit and scope/type fields for all active registrations. Reported-by: Ilias Tsitsimpis <i.tsitsimpis@gmail.com> Cc: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_nodeattrib.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud