[PATCH v6 17/18] scsi: target: Report and detect unsupported PR commands

Hannes Reinecke hare at suse.de
Tue Apr 11 00:32:22 PDT 2023


On 4/7/23 22:05, Mike Christie wrote:
> The backend modules don't know about ports and I_T nexuses and the pr_ops
> callouts the modules will use don't support the old RESERVE/RELEASE
> commands. This patch has us report we don't support those types of
> commands and fail them.
> 
> Signed-off-by: Mike Christie <michael.christie at oracle.com>
> ---
>   drivers/target/target_core_pr.c  | 17 ++++++++
>   drivers/target/target_core_spc.c | 75 +++++++++++++++++++++++---------
>   2 files changed, 72 insertions(+), 20 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare at suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare at suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew
Myers, Andrew McDonald, Martje Boudien Moerman




More information about the Linux-nvme mailing list