]> www.infradead.org Git - users/dwmw2/linux.git/commit
block: add a bdev_limits helper
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Oct 2024 14:19:37 +0000 (15:19 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 Oct 2024 15:15:00 +0000 (09:15 -0600)
commit2f5a65ef30a636d5030917eebd283ac447a212af
treeb28320d8f261c41868ccaf7bcca173b3d2e7e50d
parente4e535bff2bc82bb49a633775f9834beeaa527db
block: add a bdev_limits helper

Add a helper to get the queue_limits from the bdev without having to
poke into the request_queue.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20241029141937.249920-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-merge.c
block/blk-settings.c
drivers/md/dm-cache-target.c
drivers/md/dm-clone-target.c
drivers/md/dm-thin.c
fs/btrfs/zoned.c
include/linux/blkdev.h