Re: [PATCH 2/2] target: Allow PERSISTENT RESERVE IN for non-reservation holder

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

 



On Tue, 2012-01-03 at 17:12 -0800, Roland Dreier wrote:
> From: Marco Sanvido <marco@xxxxxxxxxxxxxxx>
> 
> Initiators that aren't the active reservation holder should be able to
> do a PERSISTENT RESERVE IN command in all cases, so add it to the list
> of allowed CDBs in core_scsi3_pr_seq_non_holder().
> 
> Signed-off-by: Roland Dreier <roland@xxxxxxxxxxxxxxx>
> ---
>  drivers/target/target_core_pr.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/target/target_core_pr.c b/drivers/target/target_core_pr.c
> index 4911fe9..9119d92 100644
> --- a/drivers/target/target_core_pr.c
> +++ b/drivers/target/target_core_pr.c
> @@ -481,6 +481,7 @@ static int core_scsi3_pr_seq_non_holder(
>  	case READ_MEDIA_SERIAL_NUMBER:
>  	case REPORT_LUNS:
>  	case REQUEST_SENSE:
> +	case PERSISTENT_RESERVE_IN:
>  		ret = 0; /*/ Allowed CDBs */
>  		break;
>  	default:

Applied to lio-core, and also queuing for the second round of v3.3
updates.

Thanks Roland!

--nab

--
To unsubscribe from this list: send the line "unsubscribe target-devel" 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]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux