* [GIT PULL] vfs uuid
@ 2024-03-08 10:19 Christian Brauner
2024-03-11 18:33 ` pr-tracker-bot
2024-03-14 19:55 ` Fwd: " Steve French
0 siblings, 2 replies; 4+ messages in thread
From: Christian Brauner @ 2024-03-08 10:19 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Christian Brauner, linux-fsdevel, linux-kernel
Hey Linus,
/* Summary */
This adds two new ioctl()s for getting the filesystem uuid and
retrieving the sysfs path based on the path of a mounted filesystem. The
bcachefs pull request should include a merge of this as well as it
depends on the two new ioctls. Getting the filesystem uuid has been
implemented in filesystem specific code for a while it's now lifted as a
generic ioctl.
/* Testing */
clang: Debian clang version 16.0.6 (19)
gcc: (Debian 13.2.0-7) 13.2.0
All patches are based on v6.8-rc1 and have been sitting in linux-next.
No build failures or warnings were observed.
/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.
The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:
Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)
are available in the Git repository at:
git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.9.uuid
for you to fetch changes up to 01edea1bbd1768be41729fd018a82556fa1810ec:
Merge series "filesystem visibility ioctls" of https://lore.kernel.org/r/20240207025624.1019754-1-kent.overstreet@linux.dev (2024-02-12 13:14:21 +0100)
Please consider pulling these changes from the signed vfs-6.9.uuid tag.
Thanks!
Christian
----------------------------------------------------------------
vfs-6.9.uuid
----------------------------------------------------------------
Christian Brauner (1):
Merge series "filesystem visibility ioctls" of https://lore.kernel.org/r/20240207025624.1019754-1-kent.overstreet@linux.dev
Kent Overstreet (6):
fs: super_set_uuid()
ovl: convert to super_set_uuid()
fs: FS_IOC_GETUUID
fat: Hook up sb->s_uuid
fs: add FS_IOC_GETFSSYSFSPATH
xfs: add support for FS_IOC_GETFSSYSFSPATH
Documentation/userspace-api/ioctl/ioctl-number.rst | 3 +-
fs/ext4/super.c | 2 +-
fs/f2fs/super.c | 2 +-
fs/fat/inode.c | 3 ++
fs/gfs2/ops_fstype.c | 2 +-
fs/ioctl.c | 33 ++++++++++++++
fs/kernfs/mount.c | 4 +-
fs/ocfs2/super.c | 4 +-
fs/overlayfs/util.c | 18 +++++---
fs/ubifs/super.c | 2 +-
fs/xfs/xfs_mount.c | 4 +-
include/linux/fs.h | 52 ++++++++++++++++++++++
include/uapi/linux/fs.h | 25 +++++++++++
mm/shmem.c | 4 +-
14 files changed, 141 insertions(+), 17 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [GIT PULL] vfs uuid
2024-03-08 10:19 [GIT PULL] vfs uuid Christian Brauner
@ 2024-03-11 18:33 ` pr-tracker-bot
2024-03-14 19:55 ` Fwd: " Steve French
1 sibling, 0 replies; 4+ messages in thread
From: pr-tracker-bot @ 2024-03-11 18:33 UTC (permalink / raw)
To: Christian Brauner
Cc: Linus Torvalds, Christian Brauner, linux-fsdevel, linux-kernel
The pull request you sent on Fri, 8 Mar 2024 11:19:05 +0100:
> git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.9.uuid
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0f1a876682f0979d6a1e5f86861dd562d1758936
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Fwd: [GIT PULL] vfs uuid
2024-03-08 10:19 [GIT PULL] vfs uuid Christian Brauner
2024-03-11 18:33 ` pr-tracker-bot
@ 2024-03-14 19:55 ` Steve French
2024-03-15 3:06 ` Kent Overstreet
1 sibling, 1 reply; 4+ messages in thread
From: Steve French @ 2024-03-14 19:55 UTC (permalink / raw)
To: Kent Overstreet, linux-fsdevel; +Cc: Christian Brauner, CIFS, Kent Overstreet
Do you have sample programs for these programs (or even better
mini-xfstest programs) that we can use to make sure this e.g. works
for cifs.ko (which has similar concept to FS UUID for most remote
filesystems etc.)?
---------- Forwarded message ---------
From: Christian Brauner <brauner@kernel.org>
Date: Fri, Mar 8, 2024 at 4:19 AM
Subject: [GIT PULL] vfs uuid
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Christian Brauner <brauner@kernel.org>,
<linux-fsdevel@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Hey Linus,
/* Summary */
This adds two new ioctl()s for getting the filesystem uuid and
retrieving the sysfs path based on the path of a mounted filesystem. The
bcachefs pull request should include a merge of this as well as it
depends on the two new ioctls. Getting the filesystem uuid has been
implemented in filesystem specific code for a while it's now lifted as a
generic ioctl.
/* Testing */
clang: Debian clang version 16.0.6 (19)
gcc: (Debian 13.2.0-7) 13.2.0
All patches are based on v6.8-rc1 and have been sitting in linux-next.
No build failures or warnings were observed.
/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.
The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:
Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)
are available in the Git repository at:
git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.9.uuid
for you to fetch changes up to 01edea1bbd1768be41729fd018a82556fa1810ec:
Merge series "filesystem visibility ioctls" of
https://lore.kernel.org/r/20240207025624.1019754-1-kent.overstreet@linux.dev
(2024-02-12 13:14:21 +0100)
Please consider pulling these changes from the signed vfs-6.9.uuid tag.
Thanks!
Christian
----------------------------------------------------------------
vfs-6.9.uuid
----------------------------------------------------------------
Christian Brauner (1):
Merge series "filesystem visibility ioctls" of
https://lore.kernel.org/r/20240207025624.1019754-1-kent.overstreet@linux.dev
Kent Overstreet (6):
fs: super_set_uuid()
ovl: convert to super_set_uuid()
fs: FS_IOC_GETUUID
fat: Hook up sb->s_uuid
fs: add FS_IOC_GETFSSYSFSPATH
xfs: add support for FS_IOC_GETFSSYSFSPATH
Documentation/userspace-api/ioctl/ioctl-number.rst | 3 +-
fs/ext4/super.c | 2 +-
fs/f2fs/super.c | 2 +-
fs/fat/inode.c | 3 ++
fs/gfs2/ops_fstype.c | 2 +-
fs/ioctl.c | 33 ++++++++++++++
fs/kernfs/mount.c | 4 +-
fs/ocfs2/super.c | 4 +-
fs/overlayfs/util.c | 18 +++++---
fs/ubifs/super.c | 2 +-
fs/xfs/xfs_mount.c | 4 +-
include/linux/fs.h | 52 ++++++++++++++++++++++
include/uapi/linux/fs.h | 25 +++++++++++
mm/shmem.c | 4 +-
14 files changed, 141 insertions(+), 17 deletions(-)
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Fwd: [GIT PULL] vfs uuid
2024-03-14 19:55 ` Fwd: " Steve French
@ 2024-03-15 3:06 ` Kent Overstreet
0 siblings, 0 replies; 4+ messages in thread
From: Kent Overstreet @ 2024-03-15 3:06 UTC (permalink / raw)
To: Steve French; +Cc: linux-fsdevel, Christian Brauner, CIFS, Kent Overstreet
On Thu, Mar 14, 2024 at 02:55:50PM -0500, Steve French wrote:
> Do you have sample programs for these programs (or even better
> mini-xfstest programs) that we can use to make sure this e.g. works
> for cifs.ko (which has similar concept to FS UUID for most remote
> filesystems etc.)?
https://evilpiepirate.org/git/query-uuid.git/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-03-15 3:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-08 10:19 [GIT PULL] vfs uuid Christian Brauner
2024-03-11 18:33 ` pr-tracker-bot
2024-03-14 19:55 ` Fwd: " Steve French
2024-03-15 3:06 ` Kent Overstreet
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).