diff options
author | 2018-06-19 15:45:33 +0300 | |
---|---|---|
committer | 2018-06-20 14:20:51 +0200 | |
commit | d68a90e148f5a82aa67654c5012071e31c0e4baa (patch) | |
tree | 2fbfdcb67c6c4385655209184b43d6676ea91476 /drivers/nvme/host/fc.c | |
parent | nvme-rdma: don't override opts->queue_size (diff) | |
download | linux-dev-d68a90e148f5a82aa67654c5012071e31c0e4baa.tar.xz linux-dev-d68a90e148f5a82aa67654c5012071e31c0e4baa.zip |
nvmet: reset keep alive timer in controller enable
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>
Diffstat (limited to 'drivers/nvme/host/fc.c')
0 files changed, 0 insertions, 0 deletions