diff options
author | 2020-02-25 12:56:26 +0900 | |
---|---|---|
committer | 2020-03-23 17:01:51 +0100 | |
commit | 7e895409421534bc7a0d8d79a81be4533d70ba8f (patch) | |
tree | 0c63cb7a7f2af6a8cd87aa8e78e45ebdb625dd06 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: skip LOOP_NO_EMPTY_SIZE if not clustered allocation (diff) | |
download | linux-dev-7e895409421534bc7a0d8d79a81be4533d70ba8f.tar.xz linux-dev-7e895409421534bc7a0d8d79a81be4533d70ba8f.zip |
btrfs: factor out prepare_allocation() for extent allocation
This function finally factor out prepare_allocation() form
find_free_extent(). This function is called before the allocation loop
and a specific allocator function like prepare_allocation_clustered()
should initialize their private information and can set proper hint_byte
to indicate where to start the allocation with.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.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