diff options
author | 2023-04-07 15:05:46 -0500 | |
---|---|---|
committer | 2023-04-11 21:55:36 -0400 | |
commit | 28c97ba38ff9c00bc177887c2d8568b7115a44e0 (patch) | |
tree | 7d5c397dd01b7b2861632fc80bdbba06e673fec2 /include/linux/blk_types.h | |
parent | nvme: Add a nvme_pr_type enum (diff) | |
download | wireguard-linux-28c97ba38ff9c00bc177887c2d8568b7115a44e0.tar.xz wireguard-linux-28c97ba38ff9c00bc177887c2d8568b7115a44e0.zip |
nvme: Add pr_ops read_reservation support
This patch adds support for the pr_ops read_reservation callout by
calling the NVMe Reservation Report helper. It then parses that info to
detect if there is a reservation and if there is then convert the
returned info to a pr_ops pr_held_reservation struct.
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Link: https://lore.kernel.org/r/20230407200551.12660-14-michael.christie@oracle.com
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/linux/blk_types.h')
0 files changed, 0 insertions, 0 deletions