[PATCH v6 11/18] nvme: Add pr_ops read_keys support

Chaitanya Kulkarni chaitanyak at nvidia.com
Sat Apr 8 01:11:15 PDT 2023


On 4/7/23 13:05, Mike Christie wrote:
> This patch adds support for the pr_ops read_keys callout by calling the
> NVMe Reservation Report helper, then parsing that info to get the
> controller's registered keys. Because the callout is only used in the
> kernel where the callers, like LIO, do not know about controller/host IDs,
> the callout just returns the registered keys which is required by the SCSI
> PR in READ KEYS command.
>
> Signed-off-by: Mike Christie <michael.christie at oracle.com>
> ---
>   


Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck




More information about the Linux-nvme mailing list