]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: maintain a sequence count for inode fork manipulations
authorChristoph Hellwig <hch@lst.de>
Fri, 5 Oct 2018 02:36:11 +0000 (21:36 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 5 Oct 2018 02:36:11 +0000 (21:36 -0500)
commit68fc8c43d729411058acb055bb8f3648aa0fd68e
treee0d470c2a0117eec6b2759af94f78380b13ff131
parentf0874fc5ac7043abbac5eb7498a1166fdab4a6e2
xfs: maintain a sequence count for inode fork manipulations

Source kernel commit: 745b3f76d1c889d738a1c4537a3c491bc1ecac4d

Add a simple 32-bit unsigned integer as the sequence count for
modifications to the extent list in the inode fork.  This will be
used to optimize away extent list lookups in the writeback code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_iext_tree.c
libxfs/xfs_inode_fork.h