block: export API to get the number of bdev inflight IO
- rename part_in_{flight, flight_rw} to bdev_count_{inflight, inflight_rw}
- export bdev_count_inflight, to fix a problem in mdraid that foreground
IO can be starved by background sync IO in later patches
Link: https://lore.kernel.org/linux-raid/20250506124903.2540268-6-yukuai1@huaweicloud.com
Signed-off-by:
Yu Kuai <yukuai3@huawei.com>
Reviewed-by:
Christoph Hellwig <hch@lst.de>
Reviewed-by:
Hannes Reinecke <hare@suse.de>
Loading
Please sign in to comment