[prev in list] [next in list] [prev in thread] [next in thread]
List: target-devel
Subject: Re: [PATCH v6 11/18] nvme: Add pr_ops read_keys support
From: Hannes Reinecke <hare () suse ! de>
Date: 2023-04-11 7:20:37
Message-ID: 6c4584d8-4989-3855-21c8-031e200a88b0 () suse ! de
[Download RAW message or body]
On 4/7/23 22: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@oracle.com>
> ---
> drivers/nvme/host/pr.c | 69 ++++++++++++++++++++++++++++++++++++++++++
> include/linux/nvme.h | 4 +++
> 2 files changed, 73 insertions(+)
>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic