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

From: linan666
Date: Tue Jan 16 2024 - 22:23:37 EST


From: Li Nan <linan122@xxxxxxxxxx>

Changes in v4:
- patch 2, add the check of 'init', update last_events even if iostat
is disabled.

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