[PATCH v2 00/11] cleanup and bugfix of sync

linan666@huaweicloud.com posted 11 patches 1 month, 1 week ago
There is a newer version of this series
drivers/md/md.h     |  11 +--
drivers/md/raid1.h  |   5 --
drivers/md/raid10.h |   5 --
drivers/md/raid5.h  |   1 -
drivers/md/md.c     | 138 +++++++++++++++++------------------
drivers/md/raid1.c  |  77 +++++++++-----------
drivers/md/raid10.c | 171 ++++++++++++++------------------------------
drivers/md/raid5.c  |  40 ++++-------
8 files changed, 174 insertions(+), 274 deletions(-)
[PATCH v2 00/11] cleanup and bugfix of sync
Posted by linan666@huaweicloud.com 1 month, 1 week ago
From: Li Nan <linan122@huawei.com>

v2:
 - patch 1, 4, 8: new patches
 - patch 3: new cleanup patch for future fix, Link:
   https://lore.kernel.org/all/8136b746-50c9-51eb-483b-f2661e86d3eb@huaweicloud.com/
 - patch 5: do not change return value of narrow_write_error()
 - patch 6: add comment of removing MD_RECOVERY_INTR

Li Nan (11):
  md/raid1: simplify uptodate handling in end_sync_write
  md: factor error handling out of md_done_sync into helper
  md/raid1,raid10: return actual write status in narrow_write_error
  md/raid1,raid10: support narrow_write_error when badblocks is disabled
  md: mark rdev Faulty when badblocks setting fails
  md: remove MD_RECOVERY_ERROR handling and simplify resync_offset
    update
  md: factor out sync completion update into helper
  md: move finish_reshape to md_finish_sync()
  md/raid10: fix any_working flag handling in raid10_sync_request
  md/raid10: cleanup skip handling in raid10_sync_request
  md: remove recovery_disabled

 drivers/md/md.h     |  11 +--
 drivers/md/raid1.h  |   5 --
 drivers/md/raid10.h |   5 --
 drivers/md/raid5.h  |   1 -
 drivers/md/md.c     | 138 +++++++++++++++++------------------
 drivers/md/raid1.c  |  77 +++++++++-----------
 drivers/md/raid10.c | 171 ++++++++++++++------------------------------
 drivers/md/raid5.c  |  40 ++++-------
 8 files changed, 174 insertions(+), 274 deletions(-)

-- 
2.39.2