mdadm/tests
Gioh Kim 76b906d240 mdadm/tests: add one test case for failfast of raid1
This creates raid1 device with the failfast option and check all
slaves have the failfast flag. And it does assembling and growing
the raid1 device and check the failfast works fine.

Signed-off-by: Gioh Kim <gi-oh.kim@cloud.ionos.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
2019-02-14 15:07:18 -05:00
..
00linear Remove some trailing white space 2015-07-02 08:26:30 +10:00
00multipath Check for multipath module before running multipath tests 2012-05-23 13:25:44 +10:00
00names test/00names: use appropriate mdadm.conf 2013-06-24 15:48:40 +10:00
00raid0 Remove some trailing white space 2015-07-02 08:26:30 +10:00
00raid1 Add one sanity check for missing device 2018-02-23 11:10:00 -05:00
00raid4 Remove some trailing white space 2015-07-02 08:26:30 +10:00
00raid5 Remove some trailing white space 2015-07-02 08:26:30 +10:00
00raid6 Remove some trailing white space 2015-07-02 08:26:30 +10:00
00raid10 Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
00readonly mdadm/test: add new testcase for testing readonly/readwrite 2017-09-01 11:28:34 -04:00
01r1fail Remove some trailing white space 2015-07-02 08:26:30 +10:00
01r5fail Remove some trailing white space 2015-07-02 08:26:30 +10:00
01r5integ tests: wait for complete rebuild in integrity checks 2015-05-15 11:07:27 +10:00
01raid6integ tests: wait for complete rebuild in integrity checks 2015-05-15 11:07:27 +10:00
01replace Add test for --replace handling. 2013-07-24 15:32:31 +10:00
02lineargrow tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
02r1add Remove some trailing white space 2015-07-02 08:26:30 +10:00
02r1grow Remove some trailing white space 2015-07-02 08:26:30 +10:00
02r5grow mdadm/test: correct tests/testdev as testdev in 02r5grow 2018-06-01 12:49:42 -04:00
02r6grow Remove some trailing white space 2015-07-02 08:26:30 +10:00
03assem-incr Add test for interaction of --assemble with --incr 2013-06-19 16:34:47 +10:00
03r0assem Remove some trailing white space 2015-07-02 08:26:30 +10:00
03r5assem Remove some trailing white space 2015-07-02 08:26:30 +10:00
03r5assem-failed New test: 03r5assem-failed 2014-02-25 14:52:14 +11:00
03r5assemV1 tests/03r5assemV1: reduce sync speed further. 2012-08-13 08:00:21 +10:00
04r0update Remove some trailing white space 2015-07-02 08:26:30 +10:00
04r1update Remove some trailing white space 2015-07-02 08:26:30 +10:00
04r5swap tests: rearrange sometest groupings. 2013-06-19 13:46:53 +10:00
04update-metadata tests: never fail if --wait fails. 2015-05-07 17:00:57 +10:00
04update-uuid tests: rearrange sometest groupings. 2013-06-19 13:46:53 +10:00
05r1-add-internalbitmap New tests testing the addition of bitmaps 2012-05-30 10:45:27 +10:00
05r1-add-internalbitmap-v1a New tests testing the addition of bitmaps 2012-05-30 10:45:27 +10:00
05r1-add-internalbitmap-v1b Remove some trailing white space 2015-07-02 08:26:30 +10:00
05r1-add-internalbitmap-v1c Remove some trailing white space 2015-07-02 08:26:30 +10:00
05r1-bitmapfile Remove some trailing white space 2015-07-02 08:26:30 +10:00
05r1-failfast mdadm/tests: add one test case for failfast of raid1 2019-02-14 15:07:18 -05:00
05r1-grow-external Remove some trailing white space 2015-07-02 08:26:30 +10:00
05r1-grow-internal Remove some trailing white space 2015-07-02 08:26:30 +10:00
05r1-grow-internal-1 Remove some trailing white space 2015-07-02 08:26:30 +10:00
05r1-internalbitmap Remove some trailing white space 2015-07-02 08:26:30 +10:00
05r1-internalbitmap-v1a Remove some trailing white space 2015-07-02 08:26:30 +10:00
05r1-internalbitmap-v1b Remove some trailing white space 2015-07-02 08:26:30 +10:00
05r1-internalbitmap-v1c Remove some trailing white space 2015-07-02 08:26:30 +10:00
05r1-n3-bitmapfile Remove some trailing white space 2015-07-02 08:26:30 +10:00
05r1-re-add tests: flushbufs after writing zeros 2015-07-23 11:09:19 +10:00
05r1-re-add-nosuper tests: flushbufs after writing zeros 2015-07-23 11:09:19 +10:00
05r1-remove-internalbitmap New tests testing removal of internal bitmaps 2012-05-30 10:46:25 +10:00
05r1-remove-internalbitmap-v1a New tests testing removal of internal bitmaps 2012-05-30 10:46:25 +10:00
05r1-remove-internalbitmap-v1b New tests testing removal of internal bitmaps 2012-05-30 10:46:25 +10:00
05r1-remove-internalbitmap-v1c New tests testing removal of internal bitmaps 2012-05-30 10:46:25 +10:00
05r5-bitmapfile tests: zero devices before --adding them. 2013-05-01 09:24:11 +10:00
05r5-internalbitmap tests: zero devices before --adding them. 2013-05-01 09:24:11 +10:00
05r6-bitmapfile tests: zero devices before --adding them. 2013-05-01 09:24:11 +10:00
05r6tor0 tests: 05r6tor0 - add some more waiting. 2015-05-15 11:07:25 +10:00
06name Remove lots of unnecessary white space. 2013-06-19 12:31:45 +10:00
06sysfs Assorted fixes 2005-08-16 06:45:23 +00:00
06wrmostly Remove lots of unnecessary white space. 2013-06-19 12:31:45 +10:00
07autoassemble Update some device sizes for self tests. 2012-05-18 17:08:28 +10:00
07autodetect udevadm settle in autodetect test 2010-08-05 16:50:03 +10:00
07changelevelintr tests: wait a bit long for reshape to complete. 2015-05-25 16:59:19 +10:00
07changelevels Remove some trailing white space 2015-07-02 08:26:30 +10:00
07layouts Remove some trailing white space 2015-07-02 08:26:30 +10:00
07reshape5intr tests/07reshape5intr : retry if writing 'check' fails. 2015-05-15 15:09:08 +10:00
07revert-grow Improve revert tests 2013-07-24 12:23:04 +10:00
07revert-inplace tests: slow down --stop a bit to allow revert-inplace to work. 2015-07-16 10:50:40 +10:00
07revert-shrink tests: add test to revert shrinking reshapes. 2013-07-04 17:18:24 +10:00
07testreshape5 Remove lots of unnecessary white space. 2013-06-19 12:31:45 +10:00
09imsm-assemble tests: never fail if --wait fails. 2015-05-07 17:00:57 +10:00
09imsm-create-fail-rebuild tests, imsm: Calculate expected array_size in proper way 2018-07-11 13:17:29 -04:00
09imsm-overlap tests, imsm: Calculate expected array_size in proper way 2018-07-11 13:17:29 -04:00
10ddf-assemble-missing tests: ignore failure status from mdadm -IRs 2015-05-13 13:11:02 +10:00
10ddf-create Remove some trailing white space 2015-07-02 08:26:30 +10:00
10ddf-create-fail-rebuild tests: never fail if --wait fails. 2015-05-07 17:00:57 +10:00
10ddf-fail-create-race tests/10ddf-fail-create-race: test handling of fail/create race 2013-08-08 09:56:13 +10:00
10ddf-fail-readd test: add -F flag to mkfs 2015-07-22 09:58:41 +10:00
10ddf-fail-readd-readonly tests: never fail if --wait fails. 2015-05-07 17:00:57 +10:00
10ddf-fail-spare tests/10ddf-fail-spare: more sophisticated result checks 2013-08-08 09:55:33 +10:00
10ddf-fail-stop-readd test: add -F flag to mkfs 2015-07-22 09:58:41 +10:00
10ddf-fail-twice tests: never fail if --wait fails. 2015-05-07 17:00:57 +10:00
10ddf-fail-two-spares tests: don't "dd" indefinitely. 2015-05-13 13:24:33 +10:00
10ddf-geometry tests: handle new raid10/ddf geometries. 2014-05-21 11:54:48 +10:00
10ddf-incremental-wrong-order test: add -F flag to mkfs 2015-07-22 09:58:41 +10:00
10ddf-sudden-degraded tests: never fail if --wait fails. 2015-05-07 17:00:57 +10:00
11spare-migration test: Don't use dev6 and dev7 together in a non-multipath test 2011-03-28 13:24:04 +11:00
12imsm-r0_2d-grow-r0_3d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
12imsm-r0_2d-grow-r0_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
12imsm-r0_2d-grow-r0_5d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
12imsm-r0_3d-grow-r0_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
12imsm-r5_3d-grow-r5_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
12imsm-r5_3d-grow-r5_5d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
13imsm-r0_r0_2d-grow-r0_r0_4d tests, imsm: Set correct expected offset between volumes 2018-07-11 13:15:37 -04:00
13imsm-r0_r0_2d-grow-r0_r0_5d tests, imsm: Set correct expected offset between volumes 2018-07-11 13:15:37 -04:00
13imsm-r0_r0_3d-grow-r0_r0_4d tests, imsm: Set correct expected offset between volumes 2018-07-11 13:15:37 -04:00
13imsm-r0_r5_3d-grow-r0_r5_4d tests, imsm: Set correct expected offset between volumes 2018-07-11 13:15:37 -04:00
13imsm-r0_r5_3d-grow-r0_r5_5d tests, imsm: Set correct expected offset between volumes 2018-07-11 13:15:37 -04:00
13imsm-r5_r0_3d-grow-r5_r0_4d tests, imsm: Set correct expected offset between volumes 2018-07-11 13:15:37 -04:00
13imsm-r5_r0_3d-grow-r5_r0_5d tests, imsm: Set correct expected offset between volumes 2018-07-11 13:15:37 -04:00
14imsm-r0_3d-r5_3d-migrate-r5_4d-r5_4d tests, imsm: Set correct expected offset between volumes 2018-07-11 13:15:37 -04:00
14imsm-r0_3d_no_spares-migrate-r5_3d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r0_r0_2d-takeover-r10_4d tests, imsm: Set correct expected offset between volumes 2018-07-11 13:15:37 -04:00
14imsm-r1_2d-grow-r1_3d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r1_2d-takeover-r0_2d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r5_3d-grow-r5_5d-no-spares test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r5_3d-migrate-r4_3d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r10_4d-grow-r10_5d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r10_r5_4d-takeover-r0_2d tests, imsm: Set correct expected offset between volumes 2018-07-11 13:15:37 -04:00
15imsm-r0_3d_64k-migrate-r0_3d_256k Remove lots of unnecessary white space. 2013-06-19 12:31:45 +10:00
15imsm-r5_3d_4k-migrate-r5_3d_256k test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
15imsm-r5_3d_64k-migrate-r5_3d_256k test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
15imsm-r5_6d_4k-migrate-r5_6d_256k test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
15imsm-r5_r0_3d_64k-migrate-r5_r0_3d_256k tests, imsm: Set correct expected offset between volumes 2018-07-11 13:15:37 -04:00
16imsm-r0_3d-migrate-r5_4d tests, imsm: Set new_num_disks value corectly to perform expected size calculations 2018-07-11 13:16:24 -04:00
16imsm-r0_5d-migrate-r5_6d tests, imsm: Set new_num_disks value corectly to perform expected size calculations 2018-07-11 13:16:24 -04:00
16imsm-r5_3d-migrate-r0_3d tests, imsm: Migration from RAID5 to RAID0 is not supported for IMSM metadata 2018-07-11 13:17:12 -04:00
16imsm-r5_5d-migrate-r0_5d tests, imsm: Migration from RAID5 to RAID0 is not supported for IMSM metadata 2018-07-11 13:17:12 -04:00
18imsm-1d-takeover-r0_1d tests/imsm-grow-template change 'wait' to 'check wait' 2015-05-28 16:51:23 +10:00
18imsm-1d-takeover-r1_2d tests/imsm-grow-template change 'wait' to 'check wait' 2015-05-28 16:51:23 +10:00
18imsm-r0_2d-takeover-r10_4d FIX: Tests: raid0->raid10 without degradation 2011-03-24 10:11:58 +11:00
18imsm-r1_2d-takeover-r0_1d tests, imsm: Set new_num_disks value corectly to perform expected size calculations 2018-07-11 13:16:24 -04:00
18imsm-r10_4d-takeover-r0_2d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
19raid6auto-repair tests: raid6 repair is now tested on every different layout. 2015-08-05 14:57:08 +10:00
19raid6check tests: add 19raid6check 2015-07-16 08:02:52 +10:00
19raid6repair tests: raid6 repair is now tested on every different layout. 2015-08-05 14:57:08 +10:00
19repair-does-not-destroy tests: do not try to 'flushbufs' after stopping a array 2015-07-10 14:42:20 +10:00
20raid5journal mdadm: add test script for raid456 journal 2015-10-22 12:20:08 +11:00
21raid5cache mdadm: add test case for raid5 write back cache 2016-12-19 10:06:26 -05:00
ToTest Remove some trailing white space 2015-07-02 08:26:30 +10:00
env-ddf-template ddf tests: fix get_rootdev 2013-11-19 16:40:09 +11:00
env-imsm-template tests, imsm: Calculate expected array_size in proper way 2018-07-11 13:17:29 -04:00
func.sh tests/func.sh: Fix some total breakage in the test scripts 2018-04-11 17:27:28 -04:00
imsm-grow-template tests, imsm: Test shouldn't call grow with chunk and level in one command 2018-07-11 13:16:48 -04:00
utils tests: use $config to store test config path 2011-03-28 10:34:17 +11:00