diff options
author | 2020-02-25 12:56:24 +0900 | |
---|---|---|
committer | 2020-03-23 17:01:51 +0100 | |
commit | c70e2139dc81b35c7d86a5d550490f7eb1451c2e (patch) | |
tree | 478e750ceafa438d35819a90d8263153f0db719f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: drop unnecessary arguments from find_free_extent_update_loop() (diff) | |
download | linux-dev-c70e2139dc81b35c7d86a5d550490f7eb1451c2e.tar.xz linux-dev-c70e2139dc81b35c7d86a5d550490f7eb1451c2e.zip |
btrfs: factor out chunk_allocation_failed() for extent allocation
Factor out chunk_allocation_failed() from
find_free_extent_update_loop(). This function is called when it failed
to allocate a chunk. The function can modify "ffe_ctl->loop" and return
0 to continue with the next stage. Or, it can return -ENOSPC to give up
here.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.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