diff options
| author | Yu Kuai <[email protected]> | 2025-05-06 12:48:59 +0000 |
|---|---|---|
| committer | Yu Kuai <[email protected]> | 2025-05-10 08:11:49 +0000 |
| commit | f2987c5816bda01a8ffdd4eb5dfaaa2b41b67039 (patch) | |
| tree | e2888571239e81a2341b39a04179b892e9903f13 /drivers/md/dm-raid.c | |
| parent | block: clean up blk_mq_in_flight_rw() (diff) | |
| download | kernel-f2987c5816bda01a8ffdd4eb5dfaaa2b41b67039.tar.gz kernel-f2987c5816bda01a8ffdd4eb5dfaaa2b41b67039.zip | |
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/[email protected]
Signed-off-by: Yu Kuai <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Diffstat (limited to 'drivers/md/dm-raid.c')
0 files changed, 0 insertions, 0 deletions
