Re: [dm-devel] [PATCH v2 09/20] nvme: Add helper to execute Reservation Report

2022-08-09 Thread Keith Busch
On Tue, Aug 09, 2022 at 10:56:55AM +, Chaitanya Kulkarni wrote: > On 8/8/22 17:04, Mike Christie wrote: > > + > > + c.common.opcode = nvme_cmd_resv_report; > > + c.common.cdw10 = cpu_to_le32(nvme_bytes_to_numd(data_len)); > > + c.common.cdw11 = 1; > > + *eds = true; > > + > > +retry: >

Re: [dm-devel] [PATCH v2 09/20] nvme: Add helper to execute Reservation Report

2022-08-09 Thread Keith Busch
On Wed, Aug 10, 2022 at 01:45:48AM +, Chaitanya Kulkarni wrote: > On 8/9/22 09:21, Mike Christie wrote: > > On 8/9/22 9:51 AM, Keith Busch wrote: > >> On Tue, Aug 09, 2022 at 10:56:55AM +, Chaitanya Kulkarni wrote: > >>> On 8/8/22 17:04, Mike Christie wrote: > + > +

Re: [dm-devel] [PATCH v2 09/20] nvme: Add helper to execute Reservation Report

2022-08-09 Thread Mike Christie
On 8/9/22 9:51 AM, Keith Busch wrote: > On Tue, Aug 09, 2022 at 10:56:55AM +, Chaitanya Kulkarni wrote: >> On 8/8/22 17:04, Mike Christie wrote: >>> + >>> + c.common.opcode = nvme_cmd_resv_report; >>> + c.common.cdw10 = cpu_to_le32(nvme_bytes_to_numd(data_len)); >>> + c.common.cdw11 = 1;

Re: [dm-devel] [PATCH v2 09/20] nvme: Add helper to execute Reservation Report

2022-08-09 Thread Mike Christie
On 8/9/22 5:55 AM, Chaitanya Kulkarni wrote: > On 8/8/22 17:04, Mike Christie wrote: >> This adds a helper to execute the Reservation Report. The next patches >> will then convert call it and convert that info to read_keys and >> read_reservation. >> >> Signed-off-by: Mike Christie >> --- >>

[dm-devel] [PATCH v2 09/20] nvme: Add helper to execute Reservation Report

2022-08-08 Thread Mike Christie
This adds a helper to execute the Reservation Report. The next patches will then convert call it and convert that info to read_keys and read_reservation. Signed-off-by: Mike Christie --- drivers/nvme/host/core.c | 27 +++ 1 file changed, 27 insertions(+) diff --git