NeilBrown
fcf5762500
Add _FORTIFY_SOURCE to mdadm.O2 build.
...
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>
2010-03-03 10:54:17 +11:00
NeilBrown
1eac9f8454
restripe: fix assignment of raid6 blocks for syndrome calculation.
...
Particularly for the _6 style.
Signed-off-by: NeilBrown <neilb@suse.de>
2009-10-16 17:50:06 +11:00
NeilBrown
521f349cb0
restripe: fix compile warning.
...
Just a type cast...
Signed-off-by: NeilBrown <neilb@suse.de>
2009-10-12 17:00:23 +11:00
NeilBrown
cc50ccdc29
restripe : various fixed for RAID6 2-failure recovery.
...
Signed-off-by: NeilBrown <neilb@suse.de>
2009-10-12 16:57:22 +11:00
NeilBrown
ca4f89a3b7
Merge branch 'master' into devel-3.1
...
Conflicts:
mdadm.8
2009-10-01 16:58:40 +10:00
NeilBrown
e38cc2d87b
Fix raid6 error recovery in 'restripe' code.
...
Thanks to Matthias Urlichs for discovering and reporting this.
Signed-off-by: NeilBrown <neilb@suse.de>
2009-09-25 17:23:33 +10:00
NeilBrown
e9e43ec367
Grow: support restart of new migrations.
2009-08-13 11:12:54 +10:00
NeilBrown
7236ee7ad4
Handle extra 'grow' variations.
...
UNFINISHED
2009-08-11 13:02:49 +10:00
NeilBrown
a628848379
restripe: support saving when not all devices are present.
2009-07-14 15:12:30 +10:00
NeilBrown
e736b62389
Update copyright dates and remove references to @cse.unsw.edu.au
...
Also removed 'paper' addresses.
Signed-off-by: NeilBrown <neilb@suse.de>
2009-06-02 14:35:45 +10:00
NeilBrown
e0d95aac96
restripe: add support for new layouts including DDF
...
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>
2009-05-25 10:52:31 +10:00
NeilBrown
94a20f0c80
Fix alignment for backup of reshape data.
...
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>
2008-08-19 17:55:15 +10:00
Neil Brown
48327135d6
Teach restripe to calculate Q syndrome for raid6.
...
This allows mdadm to correctly restart a raid6 grow that
crashed during the critcal phase.
2007-02-22 14:59:19 +11:00
Neil Brown
353632d927
Support restarting of a reshape on --assemble
...
Signed-off-by: Neil Brown <neilb@suse.de>
2006-03-20 03:17:31 +00:00
Neil Brown
e86c9dd6d8
Initial reshape support
...
Needs work for other levels etc.
Signed-off-by: Neil Brown <neilb@suse.de>
2006-03-13 05:51:32 +00:00