Skip to contentSkip to conversation

: Add implict release and PROUT CLEAR SA

PATCH New Nicholas A. Bellinger 1 participant 1 message Mar 19, 2009 SCSI

lore
Share & tools
lore
#0 lore raw

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