]> git.baikalelectronics.ru Git - kernel.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)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 9 Jan 2015 23:22:14 +0000 (15:22 -0800)
commit60259deeaf9686a4a91f8ccd156391a07bc73a0c
tree664763703acb720ca3a7daa86fe16b389c9793cd
parent862dc76ccd46e17ff281257072283700324915e9
target: Allow Write Exclusive non-reservation holders to READ

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>
drivers/target/target_core_pr.c