]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: avoid COW fork extent lookups in writeback if the fork didn't change
authorChristoph Hellwig <hch@lst.de>
Tue, 17 Jul 2018 23:51:52 +0000 (16:51 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 31 Jul 2018 20:18:09 +0000 (13:18 -0700)
commit4c3ae8f1891adb9ec4fd1f7e418ba583c4356b24
tree321bb7db899b5c9f76b6164f8aeaa0ae4f0dad55
parent61db476f3c60cd8bf41d6fb4e15e767706785543
xfs: avoid COW fork extent lookups in writeback if the fork didn't change

Used the per-fork sequence counter to avoid lookups in the writeback code
unless the COW fork actually changed.

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>
fs/xfs/xfs_aops.c
fs/xfs/xfs_iomap.c
fs/xfs/xfs_iomap.h