diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-09-14 18:45:21 -0700 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2020-09-21 01:12:01 +0800 |
commit | 41a6a75daec7d53ef5e2dafb79c02dbb3b6d804e (patch) | |
tree | e50662cd56297886273e1827f981fca187838568 | |
parent | 84a282ea23f099351c96568693c8799eb53e6087 (diff) |
generic/204: sync before scrub hits EIO
Let's see if we can prevent fs corruption warnings by flushing dirty
data to disk before the test ends.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
-rwxr-xr-x | tests/generic/204 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/generic/204 b/tests/generic/204 index 7250c00a..22d6fed5 100755 --- a/tests/generic/204 +++ b/tests/generic/204 @@ -18,6 +18,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _cleanup() { rm -f $tmp.* + sync } # get standard environment, filters and checks |