[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250626035125.GA198321@mit.edu>
Date: Wed, 25 Jun 2025 23:51:25 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: Leah Rumancik <leah.rumancik@...il.com>
Cc: fstests@...r.kernel.org, linux-ext4@...r.kernel.org
Subject: Re: [PATCH v2] common/rc: add repair fsck flag -f for ext4
On Wed, Jun 25, 2025 at 02:20:22PM -0700, Leah Rumancik wrote:
> There is a descrepancy between the fsck flags for ext4 during
> filesystem repair and filesystem checking which causes occasional test
> failures. In particular, _check_generic_filesystems uses -f for force
> checking, but _repair_scratch_fs does not. In some tests, such as
> generic/441, we sometimes exit fsck repair early with the filesystem
> being deemed "clean" but then _check_generic_filesystems finds issues
> during the forced full check. Bringing these flags in sync fixes the
> flakes.
>
> Signed-off-by: Leah Rumancik <leah.rumancik@...il.com>
Reviewed-by: Theodore Ts'o <tytso@....edu>
Looks good to me, although I might suggest ammending or just dropping
the comment:
> # Let's hope fsck -y suffices...
... since obviously, for ext[234] it wasn't sufficient. :-)
- Ted
Powered by blists - more mailing lists