From: Miklos Szeredi <miklos@szeredi.hu>
To: Josef Bacik <josef@toxicpanda.com>
Cc: Kent Overstreet <kent.overstreet@linux.dev>,
linux-bcachefs@vger.kernel.org, linux-btrfs@vger.kernel.org,
linux-fsdevel@vger.kernel.org, Jan Kara <jack@suse.cz>,
linux-kernel@vger.kernel.org, lsf-pc@lists.linux-foundation.org
Subject: Re: [LSF TOPIC] statx extensions for subvol/snapshot filesystems & more
Date: Mon, 26 Feb 2024 09:14:51 +0100 [thread overview]
Message-ID: <CAJfpeguEbd1h96OVhDAPEwoWGrF0Nk7q0GD9W6FhGp+eVgVRCQ@mail.gmail.com> (raw)
In-Reply-To: <20240222154802.GA1219527@perftesting>
On Thu, 22 Feb 2024 at 16:48, Josef Bacik <josef@toxicpanda.com> wrote:
> Right, nobody is arguing that. Our plan is to
>
> 1) Introduce some sort of statx mechanism to expose this information.
> 2) Introduce an incompat fs feature flag to give unique inode numbers for people
> that want them, and there stop doing the st_dev thing we currently do.
I don't get it. What does the filesystem (the actual bits on disk)
have anything to do with how st_dev is exposed to userspace
applications?
This is not a filesystem feature, this is an interface feature. And I
even doubt that salvaging st_dev is worth it. Userspace should just
be converted to use something else. In other words st_ino *and*
st_dev are legacy and we need to find superior alternatives.
Seems like there's an agreement about file handle being able to replace st_ino.
I'm not quite sure fsid or uuid can replace st_dev, but that's up for
discussion.
Thanks,
Miklos
prev parent reply other threads:[~2024-02-26 8:15 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-21 0:51 [LSF TOPIC] statx extensions for subvol/snapshot filesystems & more Kent Overstreet
2024-02-21 15:06 ` Miklos Szeredi
2024-02-21 21:04 ` Kent Overstreet
2024-02-21 21:08 ` Josef Bacik
2024-02-22 9:14 ` Miklos Szeredi
2024-02-22 9:42 ` Kent Overstreet
2024-02-22 10:25 ` Miklos Szeredi
2024-02-22 11:19 ` Kent Overstreet
2024-02-22 11:01 ` [Lsf-pc] " Jan Kara
2024-02-22 11:27 ` Kent Overstreet
2024-02-22 11:44 ` Jan Kara
2024-02-22 11:55 ` Kent Overstreet
2024-02-22 13:10 ` Miklos Szeredi
2024-02-22 12:48 ` Miklos Szeredi
2024-02-22 16:08 ` Jan Kara
2024-02-26 8:27 ` Miklos Szeredi
2024-02-26 16:24 ` Amir Goldstein
2024-02-22 15:48 ` Josef Bacik
2024-02-26 8:14 ` Miklos Szeredi [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=CAJfpeguEbd1h96OVhDAPEwoWGrF0Nk7q0GD9W6FhGp+eVgVRCQ@mail.gmail.com \
--to=miklos@szeredi.hu \
--cc=jack@suse.cz \
--cc=josef@toxicpanda.com \
--cc=kent.overstreet@linux.dev \
--cc=linux-bcachefs@vger.kernel.org \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lsf-pc@lists.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;
as well as URLs for NNTP newsgroup(s).