blk-mq: remove hybrid polling
authorKeith Busch <kbusch@kernel.org>
Mon, 20 Mar 2023 19:49:26 +0000 (12:49 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 20 Mar 2023 21:30:03 +0000 (15:30 -0600)
commit54bdd67d0f88489ac88f7664b56cb7c93799d84d
tree7c0c5780eb49ae1ca5c33b23c32b566c1b4a7c46
parent4cf2c3ab2cdfed71a7f27fe52b4c87877ee79606
blk-mq: remove hybrid polling

io_uring provides the only way user space can poll completions, and that
always sets BLK_POLL_NOSLEEP. This effectively makes hybrid polling dead
code, so remove it and everything supporting it.

Hybrid polling was effectively killed off with 9650b453a3d4b1, "block:
ignore RWF_HIPRI hint for sync dio", but still potentially reachable
through io_uring until d729cf9acb93119, "io_uring: don't sleep when
polling for I/O", but hybrid polling probably should not have been
reachable through that async interface from the beginning.

Fixes: 9650b453a3d4 ("block: ignore RWF_HIPRI hint for sync dio")
Fixes: d729cf9acb93 ("io_uring: don't sleep when polling for I/O")
Signed-off-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20230320194926.3353144-1-kbusch@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Documentation/ABI/stable/sysfs-block
block/blk-core.c
block/blk-mq-debugfs.c
block/blk-mq.c
block/blk-stat.c
block/blk-sysfs.c
include/linux/blk-mq.h
include/linux/blkdev.h
io_uring/rw.c