[PATCH 0/2] [Target_Core_Mod/Persistent_Reservations]: Add implictrelease and PROUT CLEAR SA

From: Nicholas A. Bellinger
Date: Thu Mar 19 2009 - 04:55:44 EST


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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/