]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: Generalise to_interval_set to allow more interval_set implementations.
authorAlex Ainscow <aainscow@uk.ibm.com>
Fri, 28 Mar 2025 13:46:30 +0000 (13:46 +0000)
committerAlex Ainscow <aainscow@uk.ibm.com>
Tue, 22 Apr 2025 07:38:14 +0000 (08:38 +0100)
commit59874ef7fb189457d3ff4edd0c65f91e00b46e3d
tree902cdc82cf049e0e2a38dedb6dbf2438ad18d30a
parent9dc19c45a763fe7c8affce45258ab131d3e99712
common: Generalise to_interval_set to allow more interval_set implementations.

This generalises to_interval_set so that the interval set does not need to share a
common internal map structure with interval_map. The implementation is achieved
through iteration, so there is no requirement for the old restriction.

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