On 4/27/25 10:29, Yu Kuai wrote:
From: Yu Kuai <yuku...@huawei.com>

- 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 <yuku...@huawei.com>
---
  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 <h...@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke                  Kernel Storage Architect
h...@suse.de                                +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

Reply via email to