diff options
author | Yifan Hong <elsk@google.com> | 2019-09-03 15:35:33 -0700 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2019-09-03 20:08:28 -0700 |
commit | d65020d05e07334f814d583f6195488b3337f27a (patch) | |
tree | 2d42951485a25b645ce2694a0f3844b6968bb751 /init/interface_utils.cpp | |
parent | a9ffef27e137458f8b12b10df2eeca58b99074ed (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