diff options
author | Nikolay Borisov <nborisov@suse.com> | 2020-07-02 15:23:31 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-07-27 13:55:40 +0300 |
commit | 3eee86c8fd9a9cdeba7afa943ae00bd166e2899a (patch) | |
tree | 72faea16da3e69bf4bba99aeb225312bf15f9360 /tools/perf/scripts/python/sched-migration.py | |
parent | c31efbdf23a09468c9352f05443d5624dbbfd3c7 (diff) | |
download | linux-3eee86c8fd9a9cdeba7afa943ae00bd166e2899a.tar.xz |
btrfs: don't check for btrfs_device::bdev in btrfs_end_bio
btrfs_map_bio ensures that all submitted bios to devices have valid
btrfs_device::bdev so this check can be removed from btrfs_end_bio. This
check was added in june 2012 597a60fadedf ("Btrfs: don't count I/O
statistic read errors for missing devices") but then in October of the
same year another commit de1ee92ac3bc ("Btrfs: recheck bio against
block device when we map the bio") started checking for the presence of
btrfs_device::bdev before actually issuing the bio.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions