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>
Showing
- fs/xfs/libxfs/xfs_format.h 10 additions, 1 deletionfs/xfs/libxfs/xfs_format.h
- fs/xfs/libxfs/xfs_ialloc.c 2 additions, 0 deletionsfs/xfs/libxfs/xfs_ialloc.c
- fs/xfs/xfs_inode.h 5 additions, 0 deletionsfs/xfs/xfs_inode.h
- fs/xfs/xfs_inode_item_recover.c 7 additions, 0 deletionsfs/xfs/xfs_inode_item_recover.c
Loading