diff options
author | Brian Foster <bfoster@redhat.com> | 2019-02-01 09:14:22 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-02-11 16:07:00 -0800 |
commit | 9f9bc034b84958523689347ee2bdd9c660008e5e (patch) | |
tree | 7651d81ce001e0ff119f1287c2eef9d8e8e13945 /fs/xfs/xfs_iomap.c | |
parent | d519da41e2b789f2cbd705cd8cec0bb92be4838d (diff) |
xfs: update fork seq counter on data fork changes
The sequence counter in the xfs_ifork structure is only updated on
COW forks. This is because the counter is currently only used to
optimize out repetitive COW fork checks at writeback time.
Tweak the extent code to update the seq counter regardless of the
fork type in preparation for using this counter on data forks as
well.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_iomap.c')
0 files changed, 0 insertions, 0 deletions