rebuild / resync checkpointing and other external metadata fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 of 13 patches 4 repliesIn review
12 of 13 patches are in this archive. The cover letter announces 13.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | imsm: catch attempt to auto-layout zero-length arrayssuper-intel.c | +12 | 0 replies | |
| 2/13 | imsm: honor orom constraints for auto-layoutsuper-intel.c | +33 | 0 replies | |
| 3/13 | imsm: fix spare promotionsuper-intel.c | +1 | 0 replies | |
| 4/13 | imsm: fix thunderdome segfaultsuper-intel.c | +1 | 0 replies | |
| 5/13 | util: fix devnum2devname for devnum == 0util.c | +1 | 0 replies | |
| 6/13 | imsm: cleanup print_imsm_dev()super-intel.c | +10 | 0 replies | |
| 7/13 | mdmon: cleanup manage_member() leakmanagemon.c | +52 | 0 replies | |
| 8/13 | mdmon: cleanup resync_startmanagemon.c mdmon.h monitor.c +2 more | +16 | 0 replies | |
| 10/13 | Introduce MaxSectorCreate.c mdadm.h monitor.c +3 more | +12 | 0 replies | |
| 11/13 | Teach sysfs_add_disk() callers to use ->recovery_start versus 'insync' parameterAssemble.c Manage.c managemon.c +5 more | +17 | 0 replies | |
| 12/13 | Support external metadata recovery-resumeAssemble.c Manage.c managemon.c +3 more | +15 | 0 replies | |
| 13/13 | imsm: add support for checkpointing via 'curr_migr_unit'bitmap.c mdadm.h super-intel.c +1 more | +320 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [mdadm PATCH 00/13] rebuild / resync checkpointing and other external metadata fixes
Hi Neil,
The latter half of this update consumes the new md/dev-XXX/recovery_start attribute for checkpointing and resuming resync/rebuild operations. It requires one more kernel patch [1] on top of 2.6.33-rc1 to ensure that mdmon sees the recovery state. One caveat is that we only get checkpoint events when the sync_action == idle, at array shutdown or as a part of 'mdadm --wait-clean --scan'.
The other bits are a collection of fixes to address unrelated issues discovered along the way. The result is pushed out to:
git://github.com:djbw/mdadm.git master
Please have a look.
Thanks,
Dan
[1]: http://marc.info/?l=linux-raid&m=126144478304488&w=2
---
Dan Williams (13):
imsm: catch attempt to auto-layout zero-length arrays
imsm: honor orom constraints for auto-layout
imsm: fix spare promotion
imsm: fix thunderdome segfault
util: fix devnum2devname for devnum == 0
imsm: cleanup print_imsm_dev()
mdmon: cleanup manage_member() leak
mdmon: cleanup resync_start
Add scaffolding for handling md/dev-XXX/recovery_start
Introduce MaxSector
Teach sysfs_add_disk() callers to use ->recovery_start versus 'insync' parameter Support external metadata recovery-resume
imsm: add support for checkpointing via 'curr_migr_unit'
Create.c | 2 Manage.c | 1 bitmap.c | 2 managemon.c | 93 ++++++++---- mdadm.h | 27 +++- mdmon.h | 7 - monitor.c | 23 +-- super-ddf.c | 14 +- super-intel.c | 432 +++++++++++++++++++++++++++++++++++++++++++++++---------- super1.c | 6 - sysfs.c | 15 ++ util.c | 24 +++ 12 files changed, 493 insertions(+), 153 deletions(-)