[PATCH v3 0/2] md: fix is_mddev_idle()

From: linan666
Date: Fri Dec 22 2023 - 22:40:20 EST


From: Li Nan <linan122@xxxxxxxxxx>

Changes in v3:
- patch 2, move check from md_sync_acct_bio() to to md_sync_acct().
Fix the check in is_mddev_idle().

Li Nan (2):
md: Fix overflow in is_mddev_idle
md: don't account sync_io if iostats of the disk is disabled

drivers/md/md.h | 5 +++--
include/linux/blkdev.h | 2 +-
drivers/md/md.c | 11 ++++++++---
3 files changed, 12 insertions(+), 6 deletions(-)

--
2.39.2