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

Message ID 20231215013931.3329455-1-linan666@huaweicloud.com
Headers
Series md: fix is_mddev_idle() |

Message

Li Nan Dec. 15, 2023, 1:39 a.m. UTC
  From: Li Nan <linan122@huawei.com>

Changes in v2:
 - patch 2, fix typo error.

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        |  7 ++++---
 include/linux/blkdev.h |  2 +-
 drivers/md/md.c        | 11 ++++++++---
 3 files changed, 13 insertions(+), 7 deletions(-)