From: Xavier Roche <xavier.roche@algolia.com>
To: Hugh Dickins <hughd@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Jean Delvare <jdelvare@suse.de>, Linux-MM <linux-mm@kvack.org>
Subject: Re: [PATCH v3] tmpfs: support for file creation time
Date: Mon, 14 Mar 2022 22:08:49 +0100 [thread overview]
Message-ID: <20220314210849.GA121935@xavier-xps> (raw)
In-Reply-To: <b925ce4f-e9a4-92e6-6a95-6c718cfcb134@google.com>
On Wed, Mar 02, 2022 at 12:17:30PM -0800, Hugh Dickins wrote:
> Please ignore this patch for now: I presume Xavier did not understand
> the "from akpm to Linus in next merge window" flow, and thought he had
> to resend the patch to you.
I will resend a fixed v4 version in a moment, sorry for the noise (and
I indeed did not fully understand the flow).
> > And finally - if we really want to treat btime as a first-class entity
> > and expect things like tmpfs to support it, then we should just bite
> > the bullet and put it in 'struct inode' along with the other times.
> I've no objection if someone does that later.
I might give it a try if this is something that can be of interest.
The idea of having btime in 'struct inode' would make the btime a
first-class citizen, allowing to have more consistent (w.r.t filesystem
types) behavior.
This would also mean allowing to _change_ it, typically to allow archivers
to set the creation time as they do for {a,c,m}time.
Currently, birth time semantic is bound to the current filesystem's
life cycle and as such is irrelevant after a restore, or a 'tar xf'.
The only gray area to me is whether or not we "can" always change this
property without unforeseen consequences, typically for ext4.
prev parent reply other threads:[~2022-03-14 21:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-11 21:36 [PATCH v2] " Xavier Roche
2022-02-27 6:30 ` [PATCH mmotm] tmpfs: three tweaks to creation time patch Hugh Dickins
2022-02-28 8:43 ` [PATCH v3] tmpfs: support for file creation time Xavier Roche
2022-03-02 19:43 ` Linus Torvalds
2022-03-02 19:59 ` Andrew Morton
2022-03-02 20:17 ` Hugh Dickins
2022-03-14 21:08 ` Xavier Roche [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=20220314210849.GA121935@xavier-xps \
--to=xavier.roche@algolia.com \
--cc=akpm@linux-foundation.org \
--cc=hughd@google.com \
--cc=jdelvare@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=torvalds@linux-foundation.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