From: Gao Xiang <hsiangkao@linux.alibaba.com>
To: Yafang Shao <laoar.shao@gmail.com>
Cc: miklos@szeredi.hu, amir73il@gmail.com,
linux-unionfs@vger.kernel.org, fuweid89@gmail.com
Subject: Re: [PATCH] ovl: Allow changing default fsync_mode
Date: Tue, 23 Jun 2026 18:12:00 +0800 [thread overview]
Message-ID: <bfdf1d1e-2313-46e7-8567-da2a363d6b3d@linux.alibaba.com> (raw)
In-Reply-To: <CALOAHbAY-3GAd=7DsA74W4ax7aPdXC7ecYt6b+tHoxFu754ZjA@mail.gmail.com>
On 2026/6/23 17:59, Yafang Shao wrote:
> On Tue, Jun 23, 2026 at 5:49 PM Gao Xiang <hsiangkao@linux.alibaba.com> wrote:
>>
>>
>>
>> On 2026/6/23 17:34, Yafang Shao wrote:
>>> On Tue, Jun 23, 2026 at 5:25 PM Gao Xiang <hsiangkao@linux.alibaba.com> wrote:
>>>>
>>>>
>>>>
>>>> On 2026/6/23 17:15, Yafang Shao wrote:
>>>>> On Tue, Jun 23, 2026 at 5:00 PM Gao Xiang <hsiangkao@linux.alibaba.com> wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 2026/6/23 16:43, Yafang Shao wrote:
>>>>>>> We have enabled "volatile" fsync_mode on our Kubernetes production
>>>>>>> environment to prevent container exit from being blocked when there
>>>>>>> are many dirty pages to flush. This has worked well without introducing
>>>>>>> any issues.
>>>>>>>
>>>>>>> However, on some of our production servers, upgrading the container
>>>>>>> runtime to support the "volatile" mount option is not straightforward [0].
>>>>>>> To address this, we want to enable it by default within the kernel.
>>>>>>
>>>>>> Just a side note: "upgrade the container runtime is not
>>>>>> straightforward", how? it seems that issue is already resolved and
>>>>>> there is no more discussion.
>>>>>
>>>>> We still have many production servers running Docker, while the
>>>>> "volatile" mount option is only supported by containerd. Upgrading
>>>>> from Docker to containerd is a difficult process.
>>>>
>>>> But docker can be patched too: if upgrading the userspace is
>>>> hard, why upgrading the linux kernel is easy?
>>>
>>> It is quite easy since the kernel can be livepatched without
>>> rebooting. My employer is a heavy livepatch user. [1]
>>>
>>> [1]. https://lore.kernel.org/live-patching/
>>
>> It's just a generic opinion, in general, docker can be live
>> upgraded without pausing the containers, and upgrading
>> userspace is easier / safer than patching the kernel.
>
> Are you sure? How would one change an already mounted overlayfs that
> was not enabled with "volatile"?
>
I don't see how your patch can apply to already mounted
overlayfs.
Again, I don't want such customized messy breaks userspace
again; with that patch, container runtime needs to consider
if `volatile` is the default which just breaks the existing
containerd versions.
Thanks,
Gao Xiang
next prev parent reply other threads:[~2026-06-23 10:12 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-23 8:43 [PATCH] ovl: Allow changing default fsync_mode Yafang Shao
2026-06-23 9:00 ` Gao Xiang
2026-06-23 9:15 ` Yafang Shao
2026-06-23 9:25 ` Gao Xiang
2026-06-23 9:34 ` Yafang Shao
2026-06-23 9:49 ` Gao Xiang
2026-06-23 9:59 ` Yafang Shao
2026-06-23 10:06 ` Gao Xiang
2026-06-23 10:12 ` Gao Xiang [this message]
2026-06-23 10:18 ` Yafang Shao
2026-06-23 10:25 ` Gao Xiang
2026-06-23 11:38 ` Yafang Shao
2026-06-23 11:59 ` Gao Xiang
2026-06-23 12:47 ` Yafang Shao
2026-06-23 13:11 ` Gao Xiang
2026-06-23 13:19 ` Yafang Shao
2026-06-23 13:35 ` Gao Xiang
2026-06-23 13:39 ` Yafang Shao
2026-06-23 13:42 ` Christoph Hellwig
2026-06-23 13:46 ` Yafang Shao
2026-06-23 13:47 ` Gao Xiang
2026-06-23 14:52 ` Amir Goldstein
2026-06-24 2:09 ` Yafang Shao
2026-06-24 2:28 ` Gao Xiang
2026-06-24 2:30 ` Yafang Shao
2026-06-24 3:17 ` Gao Xiang
2026-06-24 3:28 ` Yafang Shao
2026-06-24 3:36 ` Gao Xiang
2026-06-24 3:41 ` Yafang Shao
2026-06-23 13:03 ` Gao Xiang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bfdf1d1e-2313-46e7-8567-da2a363d6b3d@linux.alibaba.com \
--to=hsiangkao@linux.alibaba.com \
--cc=amir73il@gmail.com \
--cc=fuweid89@gmail.com \
--cc=laoar.shao@gmail.com \
--cc=linux-unionfs@vger.kernel.org \
--cc=miklos@szeredi.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox