[prev in list] [next in list] [prev in thread] [next in thread] 

List:       target-devel
Subject:    Re: [PATCH v6 16/18] scsi: target: Pass struct target_opcode_descriptor to enabled
From:       Hannes Reinecke <hare () suse ! de>
Date:       2023-04-11 7:31:47
Message-ID: 5152a029-c690-70a1-c9ba-161af9a8bf4d () suse ! de
[Download RAW message or body]

On 4/7/23 22:05, Mike Christie wrote:
> The iblock pr_ops support does not support commands that require port or
> I_T Nexus info. This adds a struct target_opcode_descriptor as an argument
> to the enabled callout so we can still have the common tcm_is_pr_enabled
> and tcm_is_scsi2_reservations_enabled functions and also determine if the
> command is supported based on the command and service action and device
> settings.
> 
> Signed-off-by: Mike Christie <michael.christie@oracle.com>
> ---
>   drivers/target/target_core_spc.c  | 40 +++++++++++++++++++------------
>   include/target/target_core_base.h |  3 ++-
>   2 files changed, 27 insertions(+), 16 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare@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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic