mdadm/tests
Doug Ledford 66f8bbbe90 Enhance raid4 support: --assemble and --monitor wasn't quite happy with it.
From: Doug Ledford <dledford@redhat.com>

This one actually does a couple things.  Mainly related to raid4, but
kinda touches other raid levels some.

When creating a raid4 array, treat it like a raid5 array in that we
create it in degraded mode by default and add the last disk as a spare.
Besides speeding things up, this has a second effect that it makes mdadm
more consistent.  In order to create a degraded raid5 array, you need
only passing missing as one of the devices.  For a degraded raid4 array,
prior to this patch, you must pass assume-clean or else it refuses to
create the array.  Even force won't make it work without assume-clean.
With the patch, raid4 behaves identical to raid5.

Separate from that, the monitor functionality completely ignores raid4
arrays.  That seems to stem from the code that checks to see if the
array is part of a long list of types.  It seems easier to check which
array types *aren't* redundant instead of listing the ones that are
redundant and missing some of them.  This makes the monitor service
actually watch raid4 arrays.
2007-07-09 10:00:02 +10:00
..
00linear Fix remaining problems with hot-add bitmap to version-1 superblock 2005-09-12 05:24:10 +00:00
00multipath Add test for multipath and make it work. 2005-08-16 07:00:22 +00:00
00raid0 Fix remaining problems with hot-add bitmap to version-1 superblock 2005-09-12 05:24:10 +00:00
00raid1 Update tests and add linear-add 2007-05-21 14:25:40 +10:00
00raid4 Enhance raid4 support: --assemble and --monitor wasn't quite happy with it. 2007-07-09 10:00:02 +10:00
00raid5 Fix remaining problems with hot-add bitmap to version-1 superblock 2005-09-12 05:24:10 +00:00
00raid6 Fix remaining problems with hot-add bitmap to version-1 superblock 2005-09-12 05:24:10 +00:00
00raid10 Fix but when assembling v1 arrays 2005-08-15 06:35:38 +00:00
01r1fail Add 'quite' option and tidy up some tests. 2005-08-15 06:14:27 +00:00
01r5fail Refine some tests. 2005-09-12 06:47:33 +00:00
02lineargrow Update tests and add linear-add 2007-05-21 14:25:40 +10:00
02r1add Fix but when assembling v1 arrays 2005-08-15 06:35:38 +00:00
02r1grow Update tests and add linear-add 2007-05-21 14:25:40 +10:00
02r5grow Passes all tests, nearly ready for release. 2005-08-26 06:08:28 +00:00
02r6grow Passes all tests, nearly ready for release. 2005-08-26 06:08:28 +00:00
03r0assem Some little bits and pieces... 2006-02-02 03:19:57 +00:00
03r5assem Fix but when assembling v1 arrays 2005-08-15 06:35:38 +00:00
03r5assemV1 Bug fixes to pass test suite 2006-03-29 06:28:07 +00:00
04r0update Fix but when assembling v1 arrays 2005-08-15 06:35:38 +00:00
04r1update Add 'quite' option and tidy up some tests. 2005-08-15 06:14:27 +00:00
05r1-bitmapfile Bug fixes to pass test suite 2006-03-29 06:28:07 +00:00
05r1-grow-external Fix byteordr covnerion ofr 'events' that was '32' instead of '64' 2005-09-12 05:54:52 +00:00
05r1-grow-internal Fix byteordr covnerion ofr 'events' that was '32' instead of '64' 2005-09-12 05:54:52 +00:00
05r1-grow-internal-1 Update tests and add linear-add 2007-05-21 14:25:40 +10:00
05r1-internalbitmap Release 2.5 2006-05-26 07:12:48 +00:00
05r1-internalbitmap-v1a Update tests and add linear-add 2007-05-21 14:25:40 +10:00
05r1-internalbitmap-v1b Fix up some internalbitmap tests 2006-06-16 10:21:11 +10:00
05r1-internalbitmap-v1c Fix up some internalbitmap tests 2006-06-16 10:21:11 +10:00
05r1-n3-bitmapfile Release 2.5 2006-05-26 07:12:48 +00:00
05r1-re-add Passes all tests, nearly ready for release. 2005-08-26 06:08:28 +00:00
05r1-re-add-nosuper Assorted fixes 2005-08-16 06:45:23 +00:00
05r5-bitmapfile Fix remaining problems with hot-add bitmap to version-1 superblock 2005-09-12 05:24:10 +00:00
05r5-internalbitmap Fix remaining problems with hot-add bitmap to version-1 superblock 2005-09-12 05:24:10 +00:00
05r6-bitmapfile Fix remaining problems with hot-add bitmap to version-1 superblock 2005-09-12 05:24:10 +00:00
06name Assorted fixes 2005-08-16 06:45:23 +00:00
06r5swap Check-in swap_super.c 2005-08-18 06:02:33 +00:00
06sysfs Assorted fixes 2005-08-16 06:45:23 +00:00
06update-uuid Fix and test --update=uuid 2006-12-14 17:31:29 +11:00
06wrmostly Fix but when assembling v1 arrays 2005-08-15 06:35:38 +00:00
07autodetect Add --auto-detect for in-kernel autodetect. 2007-05-21 14:25:44 +10:00
07testreshape5 Initial reshape support 2006-03-13 05:51:32 +00:00
ToTest Add test suite and release 2005-08-04 04:56:22 +00:00
check Add test suite and release 2005-08-04 04:56:22 +00:00
testdev Update test scripts for new blockdev 2006-10-23 14:56:22 +10:00