From: Brian Foster <bfoster@redhat.com>
To: Ding Feng <dingf3ng@gmail.com>
Cc: David Hildenbrand <david@kernel.org>,
Hugh Dickins <hughd@google.com>,
Baolin Wang <baolin.wang@linux.alibaba.com>,
Andrew Morton <akpm@linux-foundation.org>,
linux-mm@kvack.org
Subject: Re: [PATCH v3 0/3] tmpfs: zero post-eof ranges on file extension
Date: Mon, 23 Nov 2026 08:59:01 -0500 [thread overview]
Message-ID: <awRGpWDa9jAGYy4d@bfoster> (raw)
In-Reply-To: <20261121152706.34523-1-dingf3ng@gmail.com>
On Sat, Nov 21, 2026 at 11:27:06PM +0800, Ding Feng wrote:
> Hi David,
>
> Understood, thanks.
>
> Brian, do you plan to revive this? If not, I can rebase it onto
> current mainline and resend it as v4 with your authorship kept. Is
> there anything from the v3 review that still needs to be addressed?
>
Hi,
Thanks for looking at and testing this! This was still on my radar as
well, but just hasn't been high enough priority to get back to quite yet
unfortunately. I was hoping to get back to it some day, but if you have
time and interest please go for it..
I don't recall any outstanding work from the last post. I think Hugh's
response is probably the latest (i.e. he was digesting and framing
further feedback). Otherwise I think the latest post passed all my
testing at that time, though I do have some notes on an i_size vs. swap
issue that I documented as unrelated, and otherwise don't recall details
of.
Note that we did add a little test to cover this in xfstests:
generic/363. That runs the internal fsx tool in a mode that
intentionally pollutes post-eof folio ranges and detects unexpected
non-zero ranges being mapped within eof. You should be able run
generic/363 or fsx directly on top of tmpfs to test (along with your
direct testing of course). I also found it useful to run this test under
various conditions: huge=always, artificially low mem environment to
generate swap activity, etc.
I'll try to at least make a pass at the last version I had posted to try
and page back in any details and help with review if I can..
Brian
> Thanks,
> Ding Feng
>
prev parent reply other threads:[~2026-11-23 13:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-21 15:22 [PATCH v3 0/3] tmpfs: zero post-eof ranges on file extension Brian Foster
2025-11-21 15:22 ` [PATCH v3 1/3] tmpfs: factor out folio zeroing logic at writeout time Brian Foster
2025-11-21 15:22 ` [PATCH v3 2/3] tmpfs: zero post-eof folio ranges on swapout Brian Foster
2025-11-21 15:22 ` [PATCH v3 3/3] tmpfs: zero post-eof ranges on file extension Brian Foster
2025-11-25 2:20 ` [PATCH v3 0/3] " Baolin Wang
2026-11-20 5:13 ` Ding Feng
2026-11-21 12:47 ` David Hildenbrand (Arm)
2026-11-21 15:27 ` Ding Feng
2026-11-23 10:38 ` Hugh Dickins
2026-11-23 11:53 ` Ding Feng
2026-11-23 13:59 ` Brian Foster [this message]
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=awRGpWDa9jAGYy4d@bfoster \
--to=bfoster@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=david@kernel.org \
--cc=dingf3ng@gmail.com \
--cc=hughd@google.com \
--cc=linux-mm@kvack.org \
/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