diff options
| author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2021-05-19 00:40:29 +0900 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2021-06-21 15:19:05 +0200 |
| commit | e7ff9e6b8e7d89199119468ae61b29a56f81ad28 (patch) | |
| tree | 391a711a8b389f79518e2803a17721da185b02b4 /tools/perf/scripts/python/flamegraph.py | |
| parent | btrfs: return EAGAIN if defrag is canceled (diff) | |
| download | linux-e7ff9e6b8e7d89199119468ae61b29a56f81ad28.tar.gz linux-e7ff9e6b8e7d89199119468ae61b29a56f81ad28.zip | |
btrfs: zoned: factor out zoned device lookup
To be able to construct a zone append bio we need to look up the
btrfs_device. The code doing the chunk map lookup to get the device is
present in btrfs_submit_compressed_write and submit_extent_page.
Factor out the lookup calls into a helper and use it in the submission
paths.
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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
