diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-02-18 18:03:24 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-03-14 15:13:51 +0300 |
commit | b0bbc8a3d49371a13ef9a5ff54fe2edfb4fb02d7 (patch) | |
tree | 36acc071737aaa3f25d3e78b4429778baa456f28 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1784b7d502a94b561eae58249adde5f72c26eb3c (diff) | |
download | linux-b0bbc8a3d49371a13ef9a5ff54fe2edfb4fb02d7.tar.xz |
btrfs: check correct bio in finish_compressed_bio_read
Commit c09abff87f90 ("btrfs: cloned bios must not be iterated by
bio_for_each_segment_all") added ASSERT()'s to make sure we weren't
calling bio_for_each_segment_all() on a RAID5/6 bio. However it was
checking the bio that the compression code passed in, not the
cb->orig_bio that we actually iterate over, so adjust this ASSERT() to
check the correct bio.
Reviewed-by: Boris Burkov <boris@bur.io>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions