Re: [dm-devel] [PATCH v6 02/18] block: Rename BLK_STS_NEXUS to BLK_STS_RESV_CONFLICT

2023-04-08 Thread Chaitanya Kulkarni
On 4/7/23 13:05, Mike Christie wrote: > BLK_STS_NEXUS is used for NVMe/SCSI reservation conflicts and DASD's > locking feature which works similar to NVMe/SCSI reservations where a > host can get a lock on a device and when the lock is taken it will get > failures. > > This patch renames BLK_STS_NE

Re: [dm-devel] [PATCH v6 10/18] nvme: Add helper to send pr command

2023-04-08 Thread Chaitanya Kulkarni
On 4/7/23 13:05, Mike Christie wrote: > Move the code that checks for multipath support and sends the pr command > to a new helper so it can be used by the reservation report support added > in the next patches. > > Signed-off-by: Mike Christie > Reviewed-by: Christoph Hellwig > --- > Looks goo

Re: [dm-devel] [PATCH v6 11/18] nvme: Add pr_ops read_keys support

2023-04-08 Thread Chaitanya Kulkarni
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 kn