[PATCH 0/2] [Target_Core_Mod/Persistent_Reservations]: Updates from PR client testing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings all,

Here is a couple of bugfixes that have made while myself and the LIO
team have been testing RHEL/Centos v5 Cluster Storage (using SCSI
fencing) and MSFT Windows 2008 Cluster server using SPC-3 PR aware iSCSI
storage from Target_Core_Mod + LIO-Target v3.0.

The first was a bug where a held reservation was not being implictly
released when the initiator's registration as being freed (this is
obvious BUG wrt to SPC-4 language).

The second was allowing non WRITE cdbs from unregistered initiators
while a registration is held of any Write Exclusive PR Type.  I was
unable to find any explict language in spc4r17 saying this was allowed,
but since both of the client side cluster setups listed above seem to
need these CDBs allowed to function, I have gone ahead and allowed these
non WRITE CDBs to pass in core_scsi3_pr_seq_non_holder().

These patches are made against lio-core-2.6.git/master and tested on
v2.6.29-rc8 x86 32-bit HVM.  The lio-core-2.6.git tree can be found at: 

http://git.kernel.org/?p=linux/kernel/git/nab/lio-core-2.6.git;a=summary

[PATCH 1/2] [Target_Core_Mod/Persistent_Reservations]: Release reservation when freeing registration
[PATCH 2/2] [Target_Core_Mod/Persistent_Reservations]: Allow non WRITE CDBs from unregistered initiators

 drivers/lio-core/target_core_pr.c |   60 ++++++++++++++++++++++++++++++++-----
 1 files changed, 52 insertions(+), 8 deletions(-)

Thanks to everyone who has been contributing their time and efforts to make
SPC-3 compliant target mode emulation on Linux a reality!

--nab


--
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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux