]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
interval_set: Enhancements to improve efficiency of insert() and to allow more flexib...
authorAlex Ainscow <aainscow@uk.ibm.com>
Wed, 8 Jan 2025 22:16:49 +0000 (22:16 +0000)
committerAlex Ainscow <aainscow@uk.ibm.com>
Mon, 27 Jan 2025 11:20:01 +0000 (11:20 +0000)
commitc90e94b70c69f14bcf02fe41b7ba1969b38c7da8
tree5ddbccd5f028504b7bea1a7182c3ebb91120e487
parentc10ec8edd67cf0382bcabcde52777bf912748854
interval_set: Enhancements to improve efficiency of insert() and to allow more flexibility.

The old insert was restrictive in ranges that could be added in. The new interface allows for a range to be added, whether it extends or joins other intervals.

Also change a number of interfaces to use the new insert.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
src/include/interval_set.h