[PATCH v4 00/12] cleanup and bugfix of sync
| Newsgroups | gmane.linux.raid,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
From: Li Nan <[email protected]> v4: - Patch 4: change the return type of narrow_write_error() to void. - Patch 5: adapt to the context conflicts caused by patch 4. - Remove patch "md/raid1,raid10: set Uptodate and clear badblocks if narrow_write_error success" 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/[email protected]/ - patch 5: do not change return value of narrow_write_error() - patch 6: add comment of removing MD_RECOVERY_INTR Li Nan (12): md/raid1: simplify uptodate handling in end_sync_write md: factor error handling out of md_done_sync into helper md/raid1,raid10: support narrow_write_error when badblocks is disabled md: break remaining operations on badblocks set failure in narrow_write_error 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 | 80 ++++++++------------ drivers/md/raid10.c | 174 ++++++++++++++------------------------------ drivers/md/raid5.c | 40 ++++------ 8 files changed, 172 insertions(+), 282 deletions(-) -- 2.39.2