summaryrefslogtreecommitdiff
path: root/init/interface_utils.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2019-09-03 15:35:33 -0700
committerYifan Hong <elsk@google.com>2019-09-03 20:08:28 -0700
commitd65020d05e07334f814d583f6195488b3337f27a (patch)
tree2d42951485a25b645ce2694a0f3844b6968bb751 /init/interface_utils.cpp
parenta9ffef27e137458f8b12b10df2eeca58b99074ed (diff)
liblp: Indicate usable regions in ResizePartition
- Open up GetFreeRegions() API. - Add a new argument, free_region_hint, to ResizePartitions(). It indicates the regions that extents can be allocated to. - Expose Interval::Intersect functions. libsnapshot needs the algorithm to intersect extents to find out the free regions for COW partitions. Test: liblp_test Change-Id: I0c079c0e919aa7b0627eb76a071a7cc2a281d692
Diffstat (limited to 'init/interface_utils.cpp')
0 files changed, 0 insertions, 0 deletions