Josef Bacik 於 2020-02-08 00:26 寫到:
On 2/7/20 4:38 AM, ethanwu wrote:
When resolving one backref of type EXTENT_DATA_REF, we collect all
references that simply references the EXTENT_ITEM even though
their (file_pos- file_extent_item::offset) are not the same as the
btrfs_extent_data_ref::offset we are searching.
This patch add additional check so that we only collect references
whose
(file_pos- file_extent_item::offset) == btrfs_extent_data_ref::offset.
Signed-off-by: ethanwu <ethanwu@xxxxxxxxxxxx>
I just want to make sure that btrfs/097 passes still right? That's
what the key_for_search thing was about, so I want to make sure we're
not regressing. I assume you've run xfstests but I just want to make
doubly sure we're good here. If you did then you can add
Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx>
Thanks,
Josef
Thanks for reviewing.
I've run the btrfs part of xfstests, 097 passed.
Failed at following tests:
074 (failed 2 out of 5 runs),
139, 153, 154,
197, 198(Patches related to these 2 tests seem to be not merged yet?)
201, 202
My kernel environment is 5.5-rc5, and this branch doesn't contain
fixes for tests 201 and 202.
All these failing tests also failed at the same version without my
patch.
Thanks,
ethanwu