Re: [PATCH v2 5/9] block: export API to get the number of bdev inflight IO

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

 



On 4/27/25 10:29, Yu Kuai wrote:
From: Yu Kuai <yukuai3@xxxxxxxxxx>

- 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

Signed-off-by: Yu Kuai <yukuai3@xxxxxxxxxx>
---
  block/blk-core.c          |  2 +-
  block/blk.h               |  1 -
  block/genhd.c             | 22 ++++++++++++++++------
  include/linux/part_stat.h |  2 ++
  4 files changed, 19 insertions(+), 8 deletions(-)

Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke                  Kernel Storage Architect
hare@xxxxxxx                                +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux