[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241023051914.GA1341@lst.de>
Date: Wed, 23 Oct 2024 07:19:15 +0200
From: Christoph Hellwig <hch@....de>
To: Sagi Grimberg <sagi@...mberg.me>
Cc: Ming Lei <ming.lei@...hat.com>, zhuxiaohui <zhuxiaohui400@...il.com>,
axboe@...nel.dk, kbusch@...nel.org, hch@....de,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-nvme@...ts.infradead.org,
Zhu Xiaohui <zhuxiaohui.400@...edance.com>
Subject: Re: [PATCH v1] blk-mq: add one blk_mq_req_flags_t type to support
mq ctx fallback
On Tue, Oct 22, 2024 at 04:23:29PM +0300, Sagi Grimberg wrote:
> I agree. NVMe may have a unique need here, but it needs a tag from a
> specific hctx while the context requesting it does not map according to
> the hctx cpumap. It cannot use any other tag from any other hctx.
>
> The reason is that the connect for a queue must be done from a tag that
> belongs to the queue because nvme relies on it when it does resolution back
> to
> the request to the completion.
I wonder if we should byte the bullet and not use a request for the
connect commands. We've already special cased the AEN command because
it was causing too many problems, and given all the pain so far connect
might also have hit that treshold.
Powered by blists - more mailing lists