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 9650b453, "block: ignore RWF_HIPRI hint for sync dio", but still potentially reachable through io_uring until d729cf9a, "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: 9650b453 ("block: ignore RWF_HIPRI hint for sync dio") Fixes: d729cf9a ("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>
Showing
- Documentation/ABI/stable/sysfs-block 4 additions, 11 deletionsDocumentation/ABI/stable/sysfs-block
- block/blk-core.c 0 additions, 6 deletionsblock/blk-core.c
- block/blk-mq-debugfs.c 0 additions, 26 deletionsblock/blk-mq-debugfs.c
- block/blk-mq.c 6 additions, 199 deletionsblock/blk-mq.c
- block/blk-stat.c 0 additions, 18 deletionsblock/blk-stat.c
- block/blk-sysfs.c 1 addition, 24 deletionsblock/blk-sysfs.c
- include/linux/blk-mq.h 0 additions, 2 deletionsinclude/linux/blk-mq.h
- include/linux/blkdev.h 0 additions, 12 deletionsinclude/linux/blkdev.h
- io_uring/rw.c 1 addition, 1 deletionio_uring/rw.c
Please register or sign in to comment