]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
ext4/305: reduce runtime by limiting mount/umount cycles
authorEryu Guan <eguan@redhat.com>
Mon, 21 Sep 2015 03:06:17 +0000 (13:06 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 21 Sep 2015 03:06:17 +0000 (13:06 +1000)
commit6c5493bd58655e65e82007bbe30eb82a3344ddd9
treee2fea83c59efc3fcfe57351eee3ee66e4b6ed406
parent48613832ad11ce22eaf74a39509cc350cf59c241
ext4/305: reduce runtime by limiting mount/umount cycles

ext4/305 sleeps 3 minutes and does mount/umount loop in background,
which produces lots of logs in dmesg and 3 minutes is not necessary.

Ted pointed out that 30 mount/umount cycles is enough to crash a buggy
kernel, so just limit the mount/umount loop to reduce the runtime. And
now the runtime is about 2s.

Reported-by: Theodore Ts'o <tytso@mit.edu>
Suggested-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/ext4/305