All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/2] erofs: share the superblock for file-backed mounts
@ 2026-08-11  7:10 Giuseppe Scrivano
  2026-08-11  7:10 ` [PATCH v5 1/2] fs: rename vfs_get_super() to get_tree_super() and export it Giuseppe Scrivano
  2026-08-11  7:10 ` [PATCH v5 2/2] erofs: reuse superblock for file-backed mounts Giuseppe Scrivano
  0 siblings, 2 replies; 7+ messages in thread
From: Giuseppe Scrivano @ 2026-08-11  7:10 UTC (permalink / raw)
  To: linux-erofs; +Cc: xiang, linux-fsdevel, amir73il, gscrivan, brauner

This series adds a "superblock_share" mount option for file-backed EROFS
mounts.  When set, mounting the same backing file (identified by inode and
fsoffset) with compatible options reuses the existing superblock instead
of creating a new one, so the page cache and inode cache are shared across
all mounts of the image.  Without the option the behaviour is unchanged.

v4: https://lore.kernel.org/linux-fsdevel/20260804060455.2928514-1-gscrivan@redhat.com/
v3: https://lore.kernel.org/linux-fsdevel/20260801075446.2508805-1-gscrivan@redhat.com/
v2: https://lore.kernel.org/linux-fsdevel/20260731160901.2276832-1-gscrivan@redhat.com/
v1: https://lore.kernel.org/linux-fsdevel/20260730124120.1501126-1-gscrivan@redhat.com/
Needs: https://lore.kernel.org/linux-fsdevel/20260804055949.2927896-1-gscrivan@redhat.com/

Giuseppe Scrivano (2):
  fs: rename vfs_get_super() to get_tree_super() and export it
  erofs: reuse superblock for file-backed mounts

 Documentation/filesystems/erofs.rst |  8 ++++
 fs/erofs/internal.h                 |  1 +
 fs/erofs/super.c                    | 58 +++++++++++++++++++++++++++--
 fs/super.c                          | 19 ++++++++--
 include/linux/fs_context.h          |  4 ++
 5 files changed, 83 insertions(+), 7 deletions(-)

-- 
2.55.0



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

end of thread, other threads:[~2026-08-11 15:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-11  7:10 [PATCH v5 0/2] erofs: share the superblock for file-backed mounts Giuseppe Scrivano
2026-08-11  7:10 ` [PATCH v5 1/2] fs: rename vfs_get_super() to get_tree_super() and export it Giuseppe Scrivano
2026-08-11 15:44   ` Gao Xiang
2026-08-11 15:59     ` Giuseppe Scrivano
2026-08-11  7:10 ` [PATCH v5 2/2] erofs: reuse superblock for file-backed mounts Giuseppe Scrivano
2026-08-11 15:31   ` Gao Xiang
2026-08-11 15:57     ` Giuseppe Scrivano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.