[stgt] [PATCH 0/1] tgt: readonly disk lun v1

Mike Anderson andmike at linux.vnet.ibm.com
Thu Sep 16 17:17:12 CEST 2010


This is a update of the previous patch posted by Ronnie to allow setting a
lun to readonly. Archive url list below.
http://markmail.org/message/q2xde2oplw7u4n6g

In the archive there was discussion about per initiator readonly acl
attributes. The dual target example in email from Ronnie provided an
alternative using this patch that could address the readonly / rw
initiator group access in some usage models.

V1:
	- Updated patch against recent tree.
	- Removed the tgtadm PARAMETERS section change.
	- Moved device_type check from spc to sbc based on comments from
	  Ronnie.

(1):
  tgt: Add a new device parameter "readonly={0|1}"

doc/tgtadm.8.xml |   16 ++++++++++++++++
usr/sbc.c        |   44 ++++++++++++++++++++++++++++++++++++++++++--
usr/spc.c        |    8 +++++++-
usr/target.c     |    2 ++
usr/tgtd.h       |    1 +
5 files changed, 68 insertions(+), 3 deletions(-)

--
-andmike

Michael Anderson <andmike at linux.vnet.ibm.com>

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list