OSDN Git Service

xfs: Conditionally upgrade existing inodes to use large extent counters
authorChandan Babu R <chandan.babu@oracle.com>
Wed, 9 Mar 2022 07:49:36 +0000 (07:49 +0000)
committerChandan Babu R <chandan.babu@oracle.com>
Wed, 13 Apr 2022 07:02:44 +0000 (07:02 +0000)
commit4f86bb4b66c999ad9ddcfd49fec93992eeba2715
tree593c82f5b2a0f9f9bdd1c1dcd3fb34dbb5b8b661
parent83a21c18441f75aec64548692b52d34582b98a6a
xfs: Conditionally upgrade existing inodes to use large extent counters

This commit enables upgrading existing inodes to use large extent counters
provided that underlying filesystem's superblock has large extent counter
feature enabled.

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_attr.c
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_format.h
fs/xfs/libxfs/xfs_inode_fork.c
fs/xfs/libxfs/xfs_inode_fork.h
fs/xfs/xfs_bmap_item.c
fs/xfs/xfs_bmap_util.c
fs/xfs/xfs_dquot.c
fs/xfs/xfs_iomap.c
fs/xfs/xfs_reflink.c
fs/xfs/xfs_rtalloc.c