aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorNaohiro Aota <[email protected]>2020-02-25 12:56:09 +0900
committerDavid Sterba <[email protected]>2020-03-23 17:01:48 +0100
commit3b4ffa4088404446edfffd9cd8673c7826e76530 (patch)
tree3ff70bb8d7e2babfe22c891d9221a766bc6d25e0 /tools/perf/scripts/python/mem-phys-addr.py
parentc4a816c67c396b1a06abf77bd249ac6ad02861b3 (diff)
btrfs: refactor find_free_dev_extent_start()
Factor out two functions from find_free_dev_extent_start(). dev_extent_search_start() decides the starting position of the search. dev_extent_hole_check() checks if a hole found is suitable for device extent allocation. These functions also have the switch-cases to change the allocation behavior depending on the policy. Reviewed-by: Josef Bacik <[email protected]> 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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions