From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> Hi all, This series addresses two issues raised recently by Ilias wrt AllRegistrants reservation handling in target code that does not adhere to SPC-4 specification requirements. This first is a informational change to PR-IN READ_FULL_STATUS, that when an AllRegistrants reservation is in place, all active registrations should be setting R_HOLDER=1 within their respective descriptors. The second is a functional change to PR-OUT REGISTER w/ SARK=0 operation, to avoid dropping the AllRegistrants reservation until the last registered I_T nexus has been released. It also ensures that the correct reservation type + scope is retained when the new reservation is set within __core_scsi3_complete_pro_release() for this AllRegistrants special case. Also, thanks to James for the extra SPC-4 clarifications. Please review. --nab Nicholas Bellinger (2): target: Fix R_HOLDER bit usage for AllRegistrants target: Avoid dropping AllRegistrants reservation during unregister drivers/target/target_core_pr.c | 113 +++++++++++++++++++++++++++++++--------- 1 file changed, 88 insertions(+), 25 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html