Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Polling needs a bio with a valid bi_bdev, but neither of those are guaranteed for polled driver requests. Make request based polling directly use blk-mq's polling function instead. When executing a request from a polled hctx, we know the request's cookie, and that it's from a live blk-mq queue that supports polling, so we can safely skip everything that bio_poll provides. Cc: [email protected] Reported-by: Martin Belanger <[email protected]> Reported-by: Daniel Wagner <[email protected]> Signed-off-by: Keith Busch <[email protected]> Tested-by: Daniel Wagner <[email protected]> Revieded-by: Daniel Wagner <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Tested-by: Shin'ichiro Kawasaki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information