nvmet: Disable keep-alive timer when kato is cleared to 0h
authorAmit Engel <amit.engel@dell.com>
Wed, 19 Aug 2020 08:31:11 +0000 (11:31 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Sep 2020 17:03:06 +0000 (19:03 +0200)
commit06ced97a6ec86383cb020c4ff9da71355666d089
tree1af782f06d88801c7f6f758ccf976981f4494673
parent3e740e7637a1434635f067af5502d1537c0906b9
nvmet: Disable keep-alive timer when kato is cleared to 0h

[ Upstream commit 0d3b6a8d213a30387b5104b2fb25376d18636f23 ]

Based on nvme spec, when keep alive timeout is set to zero
the keep-alive timer should be disabled.

Signed-off-by: Amit Engel <amit.engel@dell.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/target/core.c