[PATCH 2/2] nvme: start keep alive timer when enabling the controller
Christoph Hellwig
hch at lst.de
Tue Apr 17 08:24:07 PDT 2018
On Sun, Apr 15, 2018 at 01:17:58PM +0300, Sagi Grimberg wrote:
>> Christoph suggested to add the keep-alive stop to the disable/shutdown (I
>> guess we need to add it to both, right ?) and in the target side to start
>> expecting also once ctrl is enabled and stop when disabled.
>
> I don't necessarily think we need to. Also, its better to do this sooner
> rather than later (stop_ctrl happens before disable/shutdown) and also,
> disable/shutdown might not even execute if the transport is not connected.
I was suggesting to do it in disable as that is the point at which
we can't send one for sure. But yes, I suspect stop_ctrl is even
better due to the reasons Sagi stated. Sorry for the confusion.
More information about the Linux-nvme
mailing list