linux/include
Pavel Begunkov 17220ca5ce block: cache request queue in bdev
There are tons of places where we need to get a request_queue only
having bdev, which turns into bdev->bd_disk->queue. There are probably a
hundred of such places considering inline helpers, and enough of them
are in hot paths.

Cache queue pointer in struct block_device and make use of it in
bdev_get_queue().

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/a3bfaecdd28956f03629d0ca5c63ebc096e1c809.1634219547.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-10-18 06:17:36 -06:00
..
acpi
asm-generic
clocksource
crypto
drm
dt-bindings
keys
kunit
kvm
linux block: cache request queue in bdev 2021-10-18 06:17:36 -06:00
math-emu
media
memory
misc
net
pcmcia
ras
rdma
scsi block: move struct request to blk-mq.h 2021-10-18 06:17:02 -06:00
soc
sound
target
trace block-5.15-2021-10-17 2021-10-17 19:25:20 -10:00
uapi Char/Misc driver fixes for 5.15-rc6 2021-10-17 17:14:00 -10:00
vdso
video
xen