public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Christie <michael.christie@oracle.com>
To: Benjamin Coddington <bcodding@redhat.com>, martin.petersen@oracle.com
Cc: linux-scsi@vger.kernel.org, target-devel@vger.kernel.org
Subject: Re: [PATCH] scsi: target: enable READ CAPACITY for PR EARO
Date: Wed, 29 Nov 2023 13:10:39 -0600	[thread overview]
Message-ID: <abf396b7-1bf5-42fa-92b6-3f927f8e7f77@oracle.com> (raw)
In-Reply-To: <ad095388dbc550c5b199a1dfa71bcbfc575a7abe.1701272679.git.bcodding@redhat.com>

On 11/29/23 10:13 AM, Benjamin Coddington wrote:
> SBC-4, Table 13 allows READ CAPACITY for all PR types.
> 
> Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
> ---
>  drivers/target/target_core_pr.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/target/target_core_pr.c b/drivers/target/target_core_pr.c
> index 49d9167bb263..80b7d85030d0 100644
> --- a/drivers/target/target_core_pr.c
> +++ b/drivers/target/target_core_pr.c
> @@ -470,6 +470,7 @@ static int core_scsi3_pr_seq_non_holder(struct se_cmd *cmd, u32 pr_reg_type,
>  	case INQUIRY:
>  	case LOG_SENSE:
>  	case SERVICE_ACTION_IN_12:
> +	case READ_CAPACITY:
>  	case REPORT_LUNS:
>  	case REQUEST_SENSE:
>  	case PERSISTENT_RESERVE_IN:

Reviewed-by: Mike Christie <michael.christie@oracle.com>


  reply	other threads:[~2023-11-29 19:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-29 16:13 [PATCH] scsi: target: enable READ CAPACITY for PR EARO Benjamin Coddington
2023-11-29 19:10 ` Mike Christie [this message]
2023-12-06  1:52 ` Martin K. Petersen
2023-12-14  4:29 ` Martin K. Petersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=abf396b7-1bf5-42fa-92b6-3f927f8e7f77@oracle.com \
    --to=michael.christie@oracle.com \
    --cc=bcodding@redhat.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=target-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox