Skip to content

: Add implict release and PROUT CLEAR SA

Nicholas A. Bellinger linux-scsi lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2: Add implict PR RELEASE+UNREGISTER for LUN acl removaldrivers/lio-core/target_core_base.h drivers/lio-core/target_core_device.c drivers/lio-core/target_core_pr.c +1 more+178 -640 replies
2/2: Add PROUT CLEAR service actiondrivers/lio-core/target_core_pr.c+61 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] [Target_Core_Mod/Persistent_Reservations]: Add implict release and PROUT CLEAR SA

Greetings all,

This first patch series adds implict release of PR reservations/registrations when a $FABRIC_MOD logical unit ACL is being released through target_core_mod/ConfigFS. The second patch adds support for the PROUT CLEAR service action that allows a registered I_T nexus (eg: initiator port) to release PR reservations/registrations. This is one of the PROUT service actions that various client side cluster code / SCSI subsystem initiators use with SCSI persistent reservations for fencing of failed nodes.

These patches are made against lio-core-2.6.git/master and tested on v2.6.29-rc8 x86 32-bit HVM using sg_persist from sg3_utils. 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]: Add implict PR RELEASE+UNREGISTER for LUN acl removal [PATCH 2/2] [Target_Core_Mod/Persistent_Reservations]: Add PROUT CLEAR service action

 drivers/lio-core/target_core_base.h   |    1 +
 drivers/lio-core/target_core_device.c |   14 ++-
 drivers/lio-core/target_core_pr.c     |  288 ++++++++++++++++++++++++++-------
 drivers/lio-core/target_core_pr.h     |    2 +
 4 files changed, 239 insertions(+), 66 deletions(-)

--nab