summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_iops.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-09-24 09:42:55 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-09-25 11:34:08 -0700
commitd7884e6e90da974b50dc2c3bf50e03b70750e5f1 (patch)
tree14e8d83ba286451dee36ea7baa5430dd30dc1eae /fs/xfs/xfs_iops.c
parentb38e07401ec7e6eefc1f84e682f5b75ce3a685e5 (diff)
xfs: avoid shared rmap operations for attr fork extents
During code review, I noticed that the rmap code uses the (slower) shared mappings rmap functions for any extent of a reflinked file, even if those extents are for the attr fork, which doesn't support sharing. We can speed up rmap a tiny bit by optimizing out this case. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_iops.c')
0 files changed, 0 insertions, 0 deletions