summaryrefslogtreecommitdiff
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-10-20 16:50:37 -1000
committerLinus Torvalds <torvalds@linux-foundation.org>2026-10-20 16:50:37 -1000
commit7b9498b77066bd2a55f607e82a05b0888dde990a (patch)
tree3685474b7678b4079ee882ea15b5d088a6fdb35f /Documentation/filesystems
parent75663f575f34291007852859486cafc08dc10d0e (diff)
parent1137aa577a35e2684e8046c3e53f920e79c7cc60 (diff)
Merge tag 'erofs-for-7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs
Pull erofs updates from Gao Xiang: "The most notable change is to support superblock sharing for composefs, thanks to Giuseppe again. Another one switches to iomap for file-backed mounts on unencoded inodes, which enables efficient sub-folio I/Os. The others are all random ones. Summary: - Support superblock sharing for file-backed mounts - Use iomap for file-backed mounts on unencoded inodes - Minor fixes and cleanups" * tag 'erofs-for-7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs: erofs: enable iomap for file-backed mounts on unencoded inodes erofs: use on-disk blkszbits for lz4 max pcluster bound mailmap: update entry for Gao Xiang MAINTAINERS: erofs: update my email address erofs: reuse superblock for file-backed mounts MAINTAINERS: erofs: add dev branch to git tree entry erofs: fix xattrs handling when metadata compression is used
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/erofs.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/filesystems/erofs.rst b/Documentation/filesystems/erofs.rst
index d301d9ac946a..02caf3b061fe 100644
--- a/Documentation/filesystems/erofs.rst
+++ b/Documentation/filesystems/erofs.rst
@@ -139,6 +139,9 @@ inode_share Enable inode page sharing for this filesystem. Inodes wi
page cache.
source=%s (For file-backed mounts) Specify the backing image as a path
or as an already-opened file descriptor.
+superblock_share (For file-backed mounts) Share the superblock when the same
+ backing file is mounted more than once with compatible
+ options. Remount is not allowed on shared superblocks.
=================== =========================================================
File-backed mounts
@@ -156,6 +159,10 @@ Only regular files are accepted as backing files; to mount an image that
resides on a block device, use the traditional block device mount path
instead.
+When superblock_share is specified, multiple mounts of the same backing
+file at the same fsoffset with compatible mount options can share a single
+superblock. Remount is not allowed on shared superblocks.
+
Sysfs Entries
=============