]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
interval_set: Add back insert()
authorAlex Ainscow <aainscow@uk.ibm.com>
Thu, 23 Jan 2025 09:28:09 +0000 (09:28 +0000)
committerAlex Ainscow <aainscow@uk.ibm.com>
Mon, 27 Jan 2025 11:20:01 +0000 (11:20 +0000)
commit757fe1c8c59f486b5dcdbb9d7f596d7b3f7ee102
tree8d1749c064b06dd7ee6cac35cc3ec510dc5c0254
parent2a4f4c5269a0db0f1126094c4fa75b6ed8766cf1
interval_set: Add back insert()

A reviewer (see github) was concerned that the policing provided by insert() may have been required for some applications of insert_set. As such, I have re-instated the old insert method and instead refactored "union_insert". IU have also enhanced the comments.

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