lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 9 Dec 2022 08:12:56 -0800
From:   harshad shirwadkar <harshadshirwadkar@...il.com>
To:     "Theodore Ts'o" <tytso@....edu>
Cc:     Eric Biggers <ebiggers@...nel.org>, linux-ext4@...r.kernel.org,
        linux-fscrypt@...r.kernel.org
Subject: Re: [PATCH 0/7] ext4 fast-commit fixes

On Tue, 6 Dec 2022 at 13:04, Theodore Ts'o <tytso@....edu> wrote:
>
> On Sun, Nov 06, 2022 at 02:48:34PM -0800, Eric Biggers wrote:
> > From: Eric Biggers <ebiggers@...nel.org
> >
> > This series fixes several bugs in the fast-commit feature.
> >
> > Patch 6 may be the most controversial patch of this series, since it
> > would make old kernels unable to replay fast-commit journals created by
> > new kernels.  I'd appreciate any thoughts on whether that's okay.  I can
> > drop that patch if needed.
>
> Mumble.  Normally, it's something we would avoid, since there aren't
> that many users using fast commit, since it's not enabled by default.
> And given that the off-by-one errors are bugs, an it's a question of
> old kernels requiring a pretty buggy layout, the question is whether
> it's worth it to do an explicit version / feature flag and support
> both for some period of time.
>
> I'm inclined to say no, and just let things slide, and instead make
> sure that e2fsck can handle both the old and the new format, and let
> that handle the fast commit replay if necessary.
>
> Harshad, what do you think?
I agree. Making kernel replay backward compatible would complicate the
replay code without adding that much value (since there aren't that
many users and fast commit isn't enabled by default). So, having the
ability in e2fsck to do replays should suffice in this case.

- Harshad
>
>                                                 - Ted

Powered by blists - more mailing lists