]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: Introduce per-inode 64-bit extent counters
authorChandan Babu R <chandan.babu@oracle.com>
Tue, 8 Mar 2022 09:34:28 +0000 (09:34 +0000)
committerChandan Babu R <chandan.babu@oracle.com>
Mon, 11 Apr 2022 04:11:20 +0000 (04:11 +0000)
commitfe97b7f6125c19033b6ed5a74177d4e2a79b0ee9
tree48930332ce95f25798fc420f9b6c960cef0e93bd
parent73248b32834ce94301db74bbed53ce24a1bc83d1
xfs: Introduce per-inode 64-bit extent counters

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>
fs/xfs/libxfs/xfs_format.h
fs/xfs/libxfs/xfs_inode_buf.c
fs/xfs/libxfs/xfs_inode_fork.h
fs/xfs/libxfs/xfs_log_format.h
fs/xfs/xfs_inode_item.c
fs/xfs/xfs_inode_item_recover.c