diff options
author | Naohiro Aota <[email protected]> | 2020-02-25 12:56:24 +0900 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-03-23 17:01:51 +0100 |
commit | c70e2139dc81b35c7d86a5d550490f7eb1451c2e (patch) | |
tree | 478e750ceafa438d35819a90d8263153f0db719f /tools/perf/scripts/python/sched-migration.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 <[email protected]>
Signed-off-by: Naohiro Aota <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions