commit | be5fe4c26bc60d1a32096690d67fa329c1d624ea | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Sep 03 15:35:33 2019 -0700 |
committer | Yifan Hong <elsk@google.com> | Tue Sep 03 20:08:28 2019 -0700 |
tree | 2d42951485a25b645ce2694a0f3844b6968bb751 | |
parent | f1b839a23dd5be3131cdf5443894241c9875f9f7 [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