Message ID | ad095388dbc550c5b199a1dfa71bcbfc575a7abe.1701272679.git.bcodding@redhat.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 28c58f8a0947f70ddee275b90fe45431146bb2cc |
Headers | show |
Series | scsi: target: enable READ CAPACITY for PR EARO | expand |
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>
Benjamin,
> SBC-4, Table 13 allows READ CAPACITY for all PR types.
Applied to 6.8/scsi-staging, thanks!
On Wed, 29 Nov 2023 11:13:54 -0500, Benjamin Coddington wrote: > SBC-4, Table 13 allows READ CAPACITY for all PR types. > > Applied to 6.8/scsi-queue, thanks! [1/1] scsi: target: enable READ CAPACITY for PR EARO https://git.kernel.org/mkp/scsi/c/28c58f8a0947
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:
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(+)