mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 00/13] cleanup and bugfix of sync
@ 2025-12-15  3:04 linan666
  2025-12-15  3:04 ` [PATCH v3 01/13] md/raid1: simplify uptodate handling in end_sync_write linan666
                   ` (12 more replies)
  0 siblings, 13 replies; 20+ messages in thread
From: linan666 @ 2025-12-15  3:04 UTC (permalink / raw)
  To: song, yukuai, neil, namhyung
  Cc: linux-raid, linux-kernel, k, linan666, yangerkun, yi.zhang

From: Li Nan <linan122@huawei.com>

v3:
 - Add new patch 4 to continue patch 3's modifications
 - Split original patch "md: update curr_resync_completed even when
   MD_RECOVERY_INTR is set" into two patch 7/8 for clearer logic

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 (13):
  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: set Uptodate and clear badblocks if
    narrow_write_error success
  md/raid1,raid10: support narrow_write_error when badblocks is disabled
  md: mark rdev Faulty when badblocks setting fails
  md: update curr_resync_completed even when MD_RECOVERY_INTR is set
  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  |  99 +++++++++++------------
 drivers/md/raid10.c | 186 ++++++++++++++++----------------------------
 drivers/md/raid5.c  |  40 ++++------
 8 files changed, 207 insertions(+), 278 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2026-01-03 10:36 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-15  3:04 [PATCH v3 00/13] cleanup and bugfix of sync linan666
2025-12-15  3:04 ` [PATCH v3 01/13] md/raid1: simplify uptodate handling in end_sync_write linan666
2025-12-15  3:04 ` [PATCH v3 02/13] md: factor error handling out of md_done_sync into helper linan666
2025-12-15  3:04 ` [PATCH v3 03/13] md/raid1,raid10: return actual write status in narrow_write_error linan666
2026-01-03  9:37   ` Yu Kuai
2026-01-03 10:16     ` Yu Kuai
2025-12-15  3:04 ` [PATCH v3 04/13] md/raid1,raid10: set Uptodate and clear badblocks if narrow_write_error success linan666
2026-01-03 10:16   ` Yu Kuai
2025-12-15  3:04 ` [PATCH v3 05/13] md/raid1,raid10: support narrow_write_error when badblocks is disabled linan666
2026-01-03 10:23   ` Yu Kuai
2025-12-15  3:04 ` [PATCH v3 06/13] md: mark rdev Faulty when badblocks setting fails linan666
2025-12-15  3:04 ` [PATCH v3 07/13] md: update curr_resync_completed even when MD_RECOVERY_INTR is set linan666
2026-01-03 10:33   ` Yu Kuai
2025-12-15  3:04 ` [PATCH v3 08/13] md: remove MD_RECOVERY_ERROR handling and simplify resync_offset update linan666
2026-01-03 10:36   ` Yu Kuai
2025-12-15  3:04 ` [PATCH v3 09/13] md: factor out sync completion update into helper linan666
2025-12-15  3:04 ` [PATCH v3 10/13] md: move finish_reshape to md_finish_sync() linan666
2025-12-15  3:04 ` [PATCH v3 11/13] md/raid10: fix any_working flag handling in raid10_sync_request linan666
2025-12-15  3:04 ` [PATCH v3 12/13] md/raid10: cleanup skip " linan666
2025-12-15  3:04 ` [PATCH v3 13/13] md: remove recovery_disabled linan666

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®