Darrick J. Wong eb8409071a xfs: revert "xfs: fix rmap key and record comparison functions"
This reverts commit 6ff646b2ceb0eec916101877f38da0b73e3a5b7f.

Your maintainer committed a major braino in the rmap code by adding the
attr fork, bmbt, and unwritten extent usage bits into rmap record key
comparisons.  While XFS uses the usage bits *in the rmap records* for
cross-referencing metadata in xfs_scrub and xfs_repair, it only needs
the owner and offset information to distinguish between reverse mappings
of the same physical extent into the data fork of a file at multiple
offsets.  The other bits are not important for key comparisons for index
lookups, and never have been.

Eric Sandeen reports that this causes regressions in generic/299, so
undo this patch before it does more damage.

Reported-by: Eric Sandeen <sandeen@sandeen.net>
Fixes: 6ff646b2ceb0 ("xfs: fix rmap key and record comparison functions")
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
2020-11-19 15:17:50 -08:00
..
2020-09-06 18:05:51 -07:00
2020-09-15 20:52:41 -07:00
2018-06-06 14:17:53 -07:00
2020-09-15 20:52:41 -07:00
2020-03-02 20:55:55 -08:00
2019-10-28 08:37:54 -07:00
2020-09-15 20:52:39 -07:00
2020-03-11 09:11:39 -07:00
2020-09-25 11:34:07 -07:00
2018-06-06 14:17:53 -07:00
2020-05-07 08:27:48 -07:00
2020-09-15 20:52:42 -07:00
2018-06-06 14:17:53 -07:00
2020-10-07 08:40:29 -07:00
2020-10-07 08:40:29 -07:00
2020-09-15 20:52:39 -07:00
2019-07-03 08:21:58 -07:00
2020-09-15 20:52:39 -07:00
2020-05-08 08:51:34 -07:00