On 4/7/23 22:05, Mike Christie wrote:
This adds support in sd.c for the block PR read keys and read reservation
callouts, so upper layers like LIO can get the PR info that's been setup
using the existing pr callouts and return it to initiators.

Signed-off-by: Mike Christie <michael.chris...@oracle.com>
Reviewed-by: Chaitanya Kulkarni <k...@nvidia.com>
Reviewed-by: Christoph Hellwig <h...@lst.de>
---
  drivers/scsi/scsi_common.c | 21 +++++++++
  drivers/scsi/sd.c          | 91 ++++++++++++++++++++++++++++++++++++++
  include/scsi/scsi_common.h |  1 +
  include/scsi/scsi_proto.h  |  5 +++
  4 files changed, 118 insertions(+)

Unfortunately this ties our PR abstraction to the SCSI PR model.
Let's hope that other protocols like NVMe will map onto that, too.
But in the meantime:

Reviewed-by: Hannes Reinecke <h...@suse.de>

Cheers,

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

--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel

Reply via email to