]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: Introduce XFS_DIFLAG2_NREXT64 and associated helpers
authorChandan Babu R <chandan.babu@oracle.com>
Tue, 16 Nov 2021 09:04:43 +0000 (09:04 +0000)
committerChandan Babu R <chandan.babu@oracle.com>
Mon, 11 Apr 2022 04:11:19 +0000 (04:11 +0000)
commit3930e3e3d4bcfd5e50275f39ce55cf3b53d76134
tree2eec96071f500cba0dbab3f6370c6c0afb334f09
parentd7854e27eda2e963da07f07d34ffd51e4a5678b6
xfs: Introduce XFS_DIFLAG2_NREXT64 and associated helpers

This commit adds the new per-inode flag XFS_DIFLAG2_NREXT64 to indicate that
an inode supports 64-bit extent counters. This flag is also enabled by default
on newly created inodes when the corresponding filesystem has large extent
counter feature bit (i.e. XFS_FEAT_NREXT64) set.

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>
fs/xfs/libxfs/xfs_format.h
fs/xfs/libxfs/xfs_ialloc.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_inode_item_recover.c