diff options
author | Johannes Thumshirn <[email protected]> | 2024-02-26 16:39:13 +0100 |
---|---|---|
committer | David Sterba <[email protected]> | 2024-03-15 02:00:26 +0100 |
commit | 74098a989b9c3370f768140b7783a7aaec2759b3 (patch) | |
tree | 799410e0b2ec2e46517daec8c1bfe320b53b8738 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1cab1375ba6d5337a25acb346996106c12bb2dd0 (diff) |
btrfs: zoned: use zone aware sb location for scrub
At the moment scrub_supers() doesn't grab the super block's location via
the zoned device aware btrfs_sb_log_location() but via btrfs_sb_offset().
This leads to checksum errors on 'scrub' as we're not accessing the
correct location of the super block.
So use btrfs_sb_log_location() for getting the super blocks location on
scrub.
Reported-by: WA AM <[email protected]>
Link: http://lore.kernel.org/linux-btrfs/CANU2Z0EvUzfYxczLgGUiREoMndE9WdQnbaawV5Fv5gNXptPUKw@mail.gmail.com
CC: [email protected] # 5.15+
Reviewed-by: Qu Wenruo <[email protected]>
Reviewed-by: Naohiro Aota <[email protected]>
Signed-off-by: Johannes Thumshirn <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions