]> www.infradead.org Git - users/jedix/linux-maple.git/commit
erofs: implement 48-bit block addressing for unencoded inodes
authorGao Xiang <hsiangkao@linux.alibaba.com>
Mon, 10 Mar 2025 09:54:54 +0000 (17:54 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Sun, 16 Mar 2025 17:25:26 +0000 (01:25 +0800)
commit2e1473d5195f9ce1afb143208e568a9350e08b77
treec316485633133e4606b9a788a35fed55cb530185
parent61ba89b57905579b6877f921423596f722983c35
erofs: implement 48-bit block addressing for unencoded inodes

It adapts the on-disk changes from the previous commit.  It also
supports EROFS_NULL_ADDR (all 1's) for EROFS_INODE_FLAT_PLAIN inodes
to indicate 0-filled inodes, as it's common for composefs use cases.
As a result, EROFS_INODE_CHUNK_BASED is no longer needed.

Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Acked-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20250310095459.2620647-5-hsiangkao@linux.alibaba.com
fs/erofs/data.c
fs/erofs/dir.c
fs/erofs/inode.c
fs/erofs/internal.h
fs/erofs/super.c
fs/erofs/sysfs.c
include/trace/events/erofs.h