mbox series

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

Message ID 20231223033703.2949831-1-linan666@huaweicloud.com (mailing list archive)
Headers show
Series md: fix is_mddev_idle() | expand

Message

Li Nan Dec. 23, 2023, 3:37 a.m. UTC
From: Li Nan <linan122@huawei.com>

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(-)