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)
commit9b7d16e34bbebc0398b1dd4f2d64ae6793fdc5ea
tree2eec96071f500cba0dbab3f6370c6c0afb334f09
parent7c05aa9d9d2014937c8dacbd514bca2592b11f48
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