On 29/10/2024 14:19, Christoph Hellwig wrote:
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@xxxxxx>
---
This looks ok:
Reviewed-by: John Garry <john.g.garry@xxxxxxxxxx>
I do note that there still seems to be patterns of calling
bdev_get_queue() and then examining the queue limits directly outside
block/, like do_region() in dm-io.c or lots of other drivers/md/ stuff
or loop_config_discard
I can try to help clean some up when I get a chance