[PATCH] nvmet: Set ctrl->kato to a default NVMET_DISC_KATO value

Christoph Hellwig hch at lst.de
Tue Aug 18 12:27:31 EDT 2020


On Tue, Aug 18, 2020 at 09:51:14AM +0300, amit.engel at dell.com wrote:
> From: Amit Engel <amit.engel at dell.com>
> 
> We want to avoid starting the keep-alive timer with a zero timeout value

So looking at the spec:

"This field specifies the timeout value for the Keep Alive feature in
milliseconds. The controller rounds up the value specified to the granularity
indicated in the KAS
field in the Identify Controller data structure. If cleared to 0h, then the
Keep Alive Timer is disabled."

we should not just set a random high timeout but just disable the
keep alive entirely.



More information about the Linux-nvme mailing list