]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: Introduce per-inode 64-bit extent counters
authorChandan Babu R <chandan.babu@oracle.com>
Wed, 22 Jun 2022 19:28:52 +0000 (14:28 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 22 Jun 2022 19:28:52 +0000 (14:28 -0500)
commit8be26c6a172f5738539b931db06fb911ecf7be4e
tree89b663358aa92f1688a40275058b9a2861dafdd0
parent5a8b4d6a60dffd4f09e4e30e488c8289d1813388
xfs: Introduce per-inode 64-bit extent counters

Source kernel commit: 52a4a14842ef940e5bab1c949e5adc8f027327dc

This commit introduces new fields in the on-disk inode format to support
64-bit data fork extent counters and 32-bit attribute fork extent
counters. The new fields will be used only when an inode has
XFS_DIFLAG2_NREXT64 flag set. Otherwise we continue to use the regular 32-bit
data fork extent counters and 16-bit attribute fork extent counters.

Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Chandan Babu R <chandan.babu@oracle.com>
Suggested-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/field.c
db/field.h
db/inode.c
libxfs/xfs_format.h
libxfs/xfs_inode_buf.c
libxfs/xfs_inode_fork.h
libxfs/xfs_log_format.h
logprint/log_misc.c
logprint/log_print_all.c
repair/dinode.c