[PATCH 3/3] blk-mq: directly poll requests
Daniel Wagner
dwagner at suse.de
Wed Mar 22 01:37:47 PDT 2023
On Tue, Mar 21, 2023 at 05:23:50PM -0700, Keith Busch wrote:
> From: Keith Busch <kbusch at kernel.org>
>
> Polling needs a bio with a valid bi_bdev, but neither of those are
> guaranteed for polled driver requests. Make request based polling use
> directly use blk-mq's polling function.
>
> When executing a request from a polled hctx, we know the request's
> cookie, and that it's from a live multi-queue that supports polling, so
> we can safely skip everything that bio_poll provides.
>
> Link: http://lists.infradead.org/pipermail/linux-nvme/2023-March/038340.html
> Reported-by: Martin Belanger <Martin.Belanger at dell.com>
> Reported-by: Daniel Wagner <dwagner at suse.de>
> Signed-off-by: Keith Busch <kbusch at kernel.org>
I've tested the whole series and this patch alone with rdma and tcp.
Tested-by: Daniel Wagner <dwagner at suse.de>
Revieded-by: Daniel Wagner <dwagner at suse.de>
More information about the Linux-nvme
mailing list