commit | d7884e6e90da974b50dc2c3bf50e03b70750e5f1 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Thu Sep 24 09:42:55 2020 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Fri Sep 25 11:34:08 2020 -0700 |
tree | 14e8d83ba286451dee36ea7baa5430dd30dc1eae | |
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>