diff options
author | Max Gurtuvoy <maxg@mellanox.com> | 2018-06-19 15:45:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-24 13:09:02 +0200 |
commit | 955887c1fe90a2be056358001fd4920614a0f8b6 (patch) | |
tree | f4d6471d0fae0e19b26848badf1eebd9b44b3f91 /block/sed-opal.c | |
parent | 62e4c9049e869e34bcc321aac6a16c79c30946e4 (diff) |
nvmet: reset keep alive timer in controller enable
[ Upstream commit d68a90e148f5a82aa67654c5012071e31c0e4baa ]
Controllers that are not yet enabled should not really enforce keep alive
timeouts, but we still want to track a timeout and cleanup in case a host
died before it enabled the controller. Hence, simply reset the keep
alive timer when the controller is enabled.
Suggested-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/sed-opal.c')
0 files changed, 0 insertions, 0 deletions