[PATCH 4.14-rc] nvme-rdma: Fix error status return in tagset allocation failure

Christoph Hellwig hch at lst.de
Thu Oct 19 06:55:22 PDT 2017


On Thu, Oct 19, 2017 at 01:28:42PM +0300, Sagi Grimberg wrote:
>>> We could, but that would mean that the nvme_ctrl tagset pointer will
>>> need to be updated later (or from the routine itself).
>>
>> That why I want to pass the address of the tagset pointers, so that
>> it can be updated.
>
> But I'm targeting this code to nvme-core which at this point, only has
> a pointer to the tagsets (which are embedded in the transport ctrl
> structs).

But with a a double indirection you _can_ update the pointers.



More information about the Linux-nvme mailing list