diff options
author | Naohiro Aota <naohiro.aota@wdc.com> | 2020-02-25 12:56:24 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-03-23 17:01:51 +0100 |
commit | c70e2139dc81b35c7d86a5d550490f7eb1451c2e (patch) | |
tree | 478e750ceafa438d35819a90d8263153f0db719f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 15b7ee6584c66f21f0a9aa7f7a6f3bfda5c5ad34 (diff) |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions