Re: [PATCH 1/1] tgt: Add a new device parameter "readonly={0|1}"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 16 Sep 2010 08:17:13 -0700
Mike Anderson <andmike@xxxxxxxxxxxxxxxxxx> wrote:

> From: Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx>
> 
> Added a device parameter that allows a logical unit to be
> set to readonly. For DISK devices, this is communicated
> back to the initiator by setting the WP bit in the device
> specific byte in the mode sense header. It will also fail
> any WRITE6/10/12/16 calls with a DATA_PROTECT/ASC_WRITE_PROTECT
> 
> Signed-off-by: Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx>
> Signed-off-by: Mike Anderson <andmike@xxxxxxxxxxxxxxxxxx>
> ---
>  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(-)

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


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux