]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
target: Allow Write Exclusive non-reservation holders to READ
authorLee Duncan <lduncan@suse.com>
Mon, 5 Jan 2015 18:49:44 +0000 (10:49 -0800)
committerJiri Slaby <jslaby@suse.cz>
Thu, 9 Apr 2015 11:14:23 +0000 (13:14 +0200)
commite007687cc30fce23db509de2392794526d3c51b0
treeb10f0197f3133143a05d1aa68535060af83c4392
parent84d0034c5f825a7ce219a64e52976a45eb490e4d
target: Allow Write Exclusive non-reservation holders to READ

commit 1ecc7586922662e3ca2f3f0c3f17fec8749fc621 upstream.

For PGR reservation of type Write Exclusive Access, allow all non
reservation holding I_T nexuses with active registrations to READ
from the device.

This addresses a bug where active registrations that attempted
to READ would result in an reservation conflict.

Signed-off-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/target/target_core_pr.c