Linux NFS development
 help / color / mirror / Atom feed
* [LSF/MM/BPF TOPIC] Support to split superblocks during remount
@ 2026-02-17  4:45 Shyam Prasad N
  2026-02-18  3:00 ` Aleksa Sarai
  2026-02-24  5:17 ` Al Viro
  0 siblings, 2 replies; 6+ messages in thread
From: Shyam Prasad N @ 2026-02-17  4:45 UTC (permalink / raw)
  To: linux-fsdevel, CIFS, linux-nfs, David Howells

Filesystems today use sget/sget_fc at the time of mount to share
superblocks when possible to reuse resources. Often the reuse of
superblocks is a function of the mount options supplied. At the time
of umount, VFS handles the cleaning up of the superblock and only
notifies the filesystem when the last of those references is dropped.

Some mount options could change during remount, and remount is
associated with a mount point and not the superblock it uses. Ideally,
during remount, the mount API needs to provide the filesystem an
option to call sget to get a new superblock (that can also be shared)
and do a put_super on the old superblock.

I do realize that there are challenges here about how to transparently
failover resources (files, inodes, dentries etc) to the new
superblock. I would still like to understand if this is an idea worth
pursuing?

-- 
Regards,
Shyam

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-02-24 10:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-17  4:45 [LSF/MM/BPF TOPIC] Support to split superblocks during remount Shyam Prasad N
2026-02-18  3:00 ` Aleksa Sarai
2026-02-24  3:33   ` Shyam Prasad N
2026-02-24  5:17 ` Al Viro
2026-02-24  9:15   ` Christian Brauner
2026-02-24 10:24   ` Shyam Prasad N

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox