summaryrefslogtreecommitdiffstats
path: root/restripe.c
Commit message (Collapse)AuthorAgeFilesLines
* Add _FORTIFY_SOURCE to mdadm.O2 build.NeilBrown2010-03-031-1/+2
| | | | | | | | | | When building mdadm.O2, set _FORTIFY_SOURCE to get more warnings, and also build mdmon.O2 to find warnings in that code too. Then fix the warnings. Suggested-by: Luca Berra <bluca@comedia.it> Signed-off-by: NeilBrown <neilb@suse.de>
* restripe: fix assignment of raid6 blocks for syndrome calculation.NeilBrown2009-10-161-8/+19
| | | | | | Particularly for the _6 style. Signed-off-by: NeilBrown <neilb@suse.de>
* restripe: fix compile warning.NeilBrown2009-10-121-1/+1
| | | | | | Just a type cast... Signed-off-by: NeilBrown <neilb@suse.de>
* restripe : various fixed for RAID6 2-failure recovery.NeilBrown2009-10-121-12/+40
| | | | Signed-off-by: NeilBrown <neilb@suse.de>
* Merge branch 'master' into devel-3.1NeilBrown2009-10-011-1/+1
|\ | | | | | | | | Conflicts: mdadm.8
| * Update copyright dates and remove references to @cse.unsw.edu.auNeilBrown2009-06-021-1/+1
| | | | | | | | | | | | Also removed 'paper' addresses. Signed-off-by: NeilBrown <neilb@suse.de>
* | Fix raid6 error recovery in 'restripe' code.NeilBrown2009-09-251-2/+2
| | | | | | | | | | | | Thanks to Matthias Urlichs for discovering and reporting this. Signed-off-by: NeilBrown <neilb@suse.de>
* | Grow: support restart of new migrations.NeilBrown2009-08-131-1/+2
| |
* | Handle extra 'grow' variations.NeilBrown2009-08-111-2/+3
| | | | | | | | UNFINISHED
* | restripe: support saving when not all devices are present.NeilBrown2009-07-141-35/+263
| |
* | restripe: add support for new layouts including DDFNeilBrown2009-05-251-6/+126
|/ | | | | | | | md supports new raid6 layouts to support conversion to and from raid5 and well as DDF. Make sure restripe handles those, including getting the order right for Q-syndrome calculation. Signed-off-by: NeilBrown <neilb@suse.de>
* Fix alignment for backup of reshape data.NeilBrown2008-08-191-2/+3
| | | | | | | | Since we introduced O_DIRECT for device access we need properly aligned buffers and IO requests. The reshape code missed out on the conversion. Signed-off-by: NeilBrown <neilb@suse.de>
* Teach restripe to calculate Q syndrome for raid6.Neil Brown2007-02-221-8/+112
| | | | | This allows mdadm to correctly restart a raid6 grow that crashed during the critcal phase.
* Support restarting of a reshape on --assembleNeil Brown2006-03-201-3/+6
| | | | Signed-off-by: Neil Brown <neilb@suse.de>
* Initial reshape supportNeil Brown2006-03-131-0/+324
Needs work for other levels etc. Signed-off-by: Neil Brown <neilb@suse.de>