linux-next/include/target
Mike Christie d9b3275bdd scsi: target: Pass struct target_opcode_descriptor to enabled
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>
Link: https://lore.kernel.org/r/20230407200551.12660-17-michael.christie@oracle.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2023-04-11 21:55:36 -04:00
..
iscsi scsi: target: iscsi: Control authentication per ACL 2022-06-07 21:55:11 -04:00
target_core_backend.h scsi: target: Allow backends to hook into PR handling 2023-04-11 21:55:36 -04:00
target_core_base.h scsi: target: Pass struct target_opcode_descriptor to enabled 2023-04-11 21:55:36 -04:00
target_core_fabric.h scsi: target: core: Add common tpg/enable attribute 2021-10-04 23:27:38 -04:00