diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-09-24 09:42:55 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-09-25 11:34:08 -0700 |
commit | d7884e6e90da974b50dc2c3bf50e03b70750e5f1 (patch) | |
tree | 14e8d83ba286451dee36ea7baa5430dd30dc1eae /virt | |
parent | b38e07401ec7e6eefc1f84e682f5b75ce3a685e5 (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 'virt')
0 files changed, 0 insertions, 0 deletions