block: Add PR callouts for read keys and reservation
authorMike Christie <michael.christie@oracle.com>
Fri, 7 Apr 2023 20:05:34 +0000 (15:05 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 12 Apr 2023 01:55:35 +0000 (21:55 -0400)
commitc787f1baa5031c22cbe20af17b2ee36ad32957ea
tree8f88bca1e63b02ea80cd61c4fd7c852d33f1c7a3
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6
block: Add PR callouts for read keys and reservation

Add callouts for reading keys and reservations. This allows LIO to support
the READ_KEYS and READ_RESERVATION commands so it can export devices to
VMs for software like windows clustering.

Signed-off-by: Mike Christie <michael.christie@oracle.com>
Link: https://lore.kernel.org/r/20230407200551.12660-2-michael.christie@oracle.com
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
include/linux/pr.h