diff options
author | 2023-12-13 06:42:56 -0800 | |
---|---|---|
committer | 2023-12-15 23:03:58 +0100 | |
commit | 02d05b6416b1f09a877c71c2761b45d1548d8856 (patch) | |
tree | 08dcedf005817baafe883c4016ae966477f7a3ee /tools/perf/scripts/python | |
parent | btrfs: migrate btrfs_repair_io_failure() to folio interfaces (diff) | |
download | wireguard-linux-02d05b6416b1f09a877c71c2761b45d1548d8856.tar.xz wireguard-linux-02d05b6416b1f09a877c71c2761b45d1548d8856.zip |
btrfs: factor out helper for single device IO check
The check in btrfs_map_block() deciding if a particular I/O is targeting a
single device is getting more and more convoluted.
Factor out the check conditions into a helper function, with no functional
change otherwise.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions