commit | c668690dc035e9a8597a7e60feeb85d1b1e581e6 | [log] [tgz] |
---|---|---|
author | Naohiro Aota <naohiro.aota@wdc.com> | Tue Feb 25 12:56:19 2020 +0900 |
committer | David Sterba <dsterba@suse.com> | Mon Mar 23 17:01:50 2020 +0100 |
tree | 664dba9ba54bd36a3393aed9c08ec5771e5ce5fd | |
parent | c10859be9b96815e28637e1e0fbd950802929f4f [diff] |
btrfs: factor out do_allocation() for extent allocation Factor out do_allocation() from find_free_extent(). This function do an actual extent allocation in a given block group. The ffe_ctl->policy is used to determine the actual allocator function to use. 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>