Re: [PATCH] block: add a bdev_limits helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux