Re: [PATCH v6] nvme: reject passthrough of driver-managed Set Features

Keith Busch <[email protected]>
Newsgroups org.infradead.lists.linux-nvme,org.kernel.vger.linux-kernel
Message-ID <anpbIKTNY3SeZxSq@kbusch-mbp>
On Wed, Jul 15, 2026 at 11:57:52AM -0400, Chao Shi wrote:
> Since commit b58da2d270db ("nvme: update keep alive interval when kato
> is modified"), a Set Features (KATO) passthrough command lets userspace
> start keep-alive on any transport. nvme_keep_alive_work() allocates with
> BLK_MQ_REQ_RESERVED, but nvme_alloc_admin_tag_set() reserves admin tags
> only for fabrics, so on other transports the allocation trips
> WARN_ON_ONCE() in blk_mq_get_tag() and fails:

Thanks, applied to nvme-7.3.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.