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