[PATCH v6 15/18] scsi: target: Allow backends to hook into PR handling
Hannes Reinecke
hare at suse.de
Tue Apr 11 00:31:17 PDT 2023
On 4/7/23 22:05, Mike Christie wrote:
> For the cases where you want to export a device to a VM via a single
> I_T nexus and want to passthrough the PR handling to the physical/real
> device you have to use pscsi or tcmu. Both are good for specific uses
> however for the case where you want good performance, and are not using
> SCSI devices directly (using DM/MD RAID or multipath devices) then we are
> out of luck.
>
> The following patches allow iblock to mimimally hook into the LIO PR code
> and then pass the PR handling to the physical device. Note that like with
> the tcmu an pscsi cases it's only supported when you export the device via
> one I_T nexus.
>
> This patch adds the initial LIO callouts. The next patch will modify
> iblock.
>
> Signed-off-by: Mike Christie <michael.christie at oracle.com>
> Reviewed-by: Christoph Hellwig <hch at lst.de>
> ---
> drivers/target/target_core_pr.c | 62 +++++++++++++++++++++++++++-
> include/target/target_core_backend.h | 4 ++
> 2 files changed, 65 insertions(+), 1 deletion(-)
> 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