On Tue, Oct 29, 2024 at 03:13:10PM +0000, John Garry wrote: > 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 I'm slowly going through them. Have been a bit busy lately, but as I have some pending code that can make use of bdev_limits() I expedited them. If you want to take some on go for it, I have no immediate plans as I'm pretty busy at the moment.