[dm-devel] [PATCH v3 09/19] nvme: Add pr_ops read_keys support

2022-10-30 Thread Mike Christie
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 do not know about controller/host IDs, the callout just returns th

Re: [dm-devel] [PATCH v3 09/19] nvme: Add pr_ops read_keys support

2022-10-30 Thread Mike Christie
On 10/30/22 3:17 AM, Christoph Hellwig wrote: > On Wed, Oct 26, 2022 at 06:19:35PM -0500, 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

Re: [dm-devel] [PATCH v3 09/19] nvme: Add pr_ops read_keys support

2022-10-30 Thread Christoph Hellwig
On Wed, Oct 26, 2022 at 06:19:35PM -0500, 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 cal