[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJfpegt=BLfdb5GRbsOHheStve8S57V9XRDN_cNKcxst2dKZzw@mail.gmail.com>
Date: Thu, 29 Aug 2024 14:51:11 +0200
From: Miklos Szeredi <miklos@...redi.hu>
To: Amir Goldstein <amir73il@...il.com>
Cc: Fei Lv <feilv@...micro.com>, linux-unionfs@...r.kernel.org,
linux-kernel@...r.kernel.org, lianghuxu@...micro.com
Subject: Re: [PATCH V2] ovl: fsync after metadata copy-up via mount option "fsync=strict"
On Thu, 29 Aug 2024 at 12:29, Amir Goldstein <amir73il@...il.com> wrote:
> But maybe we can ignore crash safety of metacopy on ubifs, because
> 1. the ubifs users may not be using this feature
> 2. ubifs may be nice and takes care of ordering O_TMPFILE
> metadata updates before exposing the link
>
> Then we can do the following:
> IF (metacopy_enabled)
> fsync only in ovl_copy_up_file()
> ELSE
> fsync only in ovl_copy_up_metadata()
>
> Let me know what you think.
Sounds like a good compromise.
Thanks,
Miklos
Powered by blists - more mailing lists