[PATCH 1/2] nvmet: reset keep alive timer in controller enable
Christoph Hellwig
hch at lst.de
Tue Apr 17 08:24:52 PDT 2018
On Sun, Apr 15, 2018 at 11:47:40AM +0300, Sagi Grimberg wrote:
> From: Max Gurtuvoy <maxg at mellanox.com>
>
> Controllers that are not yet enabled should not really
> enforce keep alive timeout, but we still want to track
> a timeout and cleanup in case a host died before it enabled
> us. Hence, simply reset the keep alive timer when the controller
> is enabled.
Please move a comment like this into the code (and use all 80 chars
you have available in source files :)).
Otherwise this looks good.
More information about the Linux-nvme
mailing list