[PATCH v1 0/3] nvmet-rdma automatic port re-activation

Christoph Hellwig hch at lst.de
Tue Apr 17 08:43:32 PDT 2018


On Sun, Apr 15, 2018 at 11:53:02AM +0300, Sagi Grimberg wrote:
>>> When a RDMA device goes away we must destroy all it's associated
>>> RDMA resources. RDMa device resets also manifest as device removal
>>> events and a short while after they come back. We want to re-activate
>>> a port listener on this RDMA device when it comes back in to the system.
>>
>> I really detest this series.  It just shows how messed up the whole
>> IB core interaction is.  The right way to fix this is to stop treating
>> a IB device reset as a device removal, and give it a different event.
>>
>> And also make sure we have a single unified event system instead of
>> three separate ones.
>
> I've raised this claim before, but got resistance from Doug:
> https://www.spinics.net/lists/linux-rdma/msg59815.html
>
> At that point, in the lack of change in the RDMA interface, this
> is pretty much what we can do to support device resets...

Meh.  I really hate all that rubbish boilerplate code.  Nothing
in here is protocol specific, so even without a proper reset
even it is something that should be done in common code.



More information about the Linux-nvme mailing list