diff options
| author | Josef Bacik <[email protected]> | 2020-07-21 10:22:16 -0400 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-10-07 12:06:51 +0200 |
| commit | c6c453032ea3b9033f0a312175aab6519ff9bdf7 (patch) | |
| tree | ec672af3835eec44c97e782848665de8357fa2ac /tools/perf/scripts/python | |
| parent | 920a9958c2553e4e23f9ff42dca2907ecf9a5fa0 (diff) | |
btrfs: make ALLOC_CHUNK use the space info flags
We have traditionally used flush_space() to flush metadata space, so
we've been unconditionally using btrfs_metadata_alloc_profile() for our
profile to allocate a chunk. However if we're going to use this for
data we need to use btrfs_get_alloc_profile() on the space_info we pass
in.
Reviewed-by: Nikolay Borisov <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Tested-by: Nikolay Borisov <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions