generic: test error shutdown while stressing filesystem
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 13 Dec 2017 06:03:48 +0000 (22:03 -0800)
committerEryu Guan <eguan@redhat.com>
Tue, 2 Jan 2018 09:35:45 +0000 (17:35 +0800)
commitce02f1b2f8eda47eb2434d59c7ac695d1ca816e6
tree78baafa5edc46fb705df45d5c573eaf81b533239
parente6f1dfa3e331872e8d7205a7996ed1db9e41f305
generic: test error shutdown while stressing filesystem

Test log recovery with repeated (simulated) disk failures.  We kick
off fsstress on the scratch fs, then switch out the underlying
device with dm-error to see what happens when the disk goes down.
Having taken down the fs in this manner, remount it and repeat.
This test is a Good Enough (tm) simulation of our internal multipath
failure testing efforts.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/475 [new file with mode: 0755]
tests/generic/475.out [new file with mode: 0644]
tests/generic/group