On Wed, Sep 23, 2020 at 11:23:40AM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > 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. This looks correct: Reviewed-by: Christoph Hellwig <hch@xxxxxx>