On Tue, Mar 21, 2023 at 05:23:50PM -0700, Keith Busch wrote: > From: Keith Busch <kbusch@xxxxxxxxxx> > > 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@xxxxxxxx> > Reported-by: Daniel Wagner <dwagner@xxxxxxx> > Signed-off-by: Keith Busch <kbusch@xxxxxxxxxx> I've tested the whole series and this patch alone with rdma and tcp. Tested-by: Daniel Wagner <dwagner@xxxxxxx> Revieded-by: Daniel Wagner <dwagner@xxxxxxx>