mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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>
This commit is contained in:
committed by
Eryu Guan
parent
84a282ea23
commit
41a6a75dae
@@ -18,6 +18,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
|
||||
_cleanup()
|
||||
{
|
||||
rm -f $tmp.*
|
||||
sync
|
||||
}
|
||||
|
||||
# get standard environment, filters and checks
|
||||
|
||||
Reference in New Issue
Block a user