Commit Graph

2 Commits

Author SHA1 Message Date
Xiao Ni 6110931485 Don't need to check recovery after re-add when no I/O writes to raid
If there is no write I/O between removing member disk and re-add it, there is no
recovery after re-adding member disk.

Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
2019-09-30 15:27:37 -04:00
Zhilong Liu 05f1959b19 clustermd_tests: add test case to test manage_re-add against cluster-raid1
02r1_Manage_re-add:
2 active disk in array, set 1 disk 'fail' and 'remove' it from array,
then re-add the disk back to array and triggers recovery.

Signed-off-by: Zhilong Liu <zlliu@suse.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
2018-03-08 14:38:32 -05:00