Re: [PATCH v2] nvme: update keep alive interval when kato is modified

From: Hannes Reinecke
Date: Wed Aug 25 2021 - 11:51:29 EST


On 8/25/21 10:53 AM, hch@xxxxxx wrote:
Any reason we can't just call this from nvme_passthru_end instead
of inventing a new API? Right now the nvmet passthrough code never
uses the underlying keep alive code, so it doesn't make a difference,
but I expect we'll need more handling for passthrough commands like
this, and we might also grow more users (e.g. the io_uring based
passthrough).

Yeah, we'll need that anyway if and when hostid becomes settable.

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@xxxxxxx +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer