mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 14:16:31 +00:00
scst_pres: Disallow READs in exclusive access mode
Disallow READS in exclusive access mode by initiators that do not hold the reservation. Disallow READS in exclusive access mode - all registrants by initiators that did not register the key. This behavior is required by SPC-4. This patch fixes a regression introduced on the trunk on June 29 2012 (r4392). PGR support in released versions, e.g. 2.2.1, works fine as far as I know. Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4814 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -212,7 +212,7 @@ enum scst_cdb_flags {
|
||||
SCST_FULLY_LOCAL_CMD = 0x0800,
|
||||
|
||||
SCST_REG_RESERVE_ALLOWED = 0x1000,
|
||||
SCST_WRITE_EXCL_ALLOWED = 0x4000,
|
||||
SCST_WRITE_EXCL_ALLOWED = 0x2000,
|
||||
SCST_EXCL_ACCESS_ALLOWED = 0x4000,
|
||||
#ifdef CONFIG_SCST_TEST_IO_IN_SIRQ
|
||||
SCST_TEST_IO_IN_SIRQ_ALLOWED = 0x8000,
|
||||
|
||||
Reference in New Issue
Block a user