]> 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)
commitae9dbfc7eaf5b306a1b156294399a0c5593dd6fa
tree2eec96071f500cba0dbab3f6370c6c0afb334f09
parent8b6172dbe7bbb78123aafce989cca1919dc466fa
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