Re: [PATCH 23/24] generic/204: sync before scrub hits EIO

Zorro Lang
2020-09-16T20:22:01Z

On Mon, Sep 14, 2020 at 06:45:21PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
>
> 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>
> ---

At least it won't break more things:)
Reviewed-by: Zorro Lang <zlang@redhat.com>

> tests/generic/204 | 1 +
> 1 file changed, 1 insertion(+)
>
>
> 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
>