block: replace blk_queue_nowait with bdev_nowait
authorChristoph Hellwig <hch@lst.de>
Tue, 27 Sep 2022 07:58:15 +0000 (09:58 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Sep 2022 15:57:58 +0000 (09:57 -0600)
commit568ec936bf1384fc15873908c96a9aeb62536edb
treeb5c44f608ddeb3f82bcd09a92be1acdbfb849bd7
parent99e603874366be1115b40ecbc0e25847186d84ea
block: replace blk_queue_nowait with bdev_nowait

Replace blk_queue_nowait with a bdev_nowait helpers that takes the
block_device given that the I/O submission path should not have to
look into the request_queue.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Pankaj Raghav <p.raghav@samsung.com>
Link: https://lore.kernel.org/r/20220927075815.269694-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
drivers/md/dm-table.c
drivers/md/md.c
include/linux/blkdev.h
io_uring/io_uring.c