mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] [Target_Core_Mod/Persistent_Reservations]: Updates from PR client testing
@ 2009-03-18  1:50 Nicholas A. Bellinger
  0 siblings, 0 replies; only message in thread
From: Nicholas A. Bellinger @ 2009-03-18  1:50 UTC (permalink / raw)
  To: LKML, linux-scsi
  Cc: James Bottomley, Martin K. Petersen, Andrew Morton,
	Mike Christie, FUJITA Tomonori, Hannes Reinecke

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-18  1:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-18  1:50 [PATCH 0/2] [Target_Core_Mod/Persistent_Reservations]: Updates from PR client testing Nicholas A. Bellinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome