]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/lba_manager/lba_btree: add at_boundary helper distinct from is_end
authorSamuel Just <sjust@redhat.com>
Mon, 25 Oct 2021 06:03:33 +0000 (23:03 -0700)
committerSamuel Just <sjust@redhat.com>
Mon, 25 Oct 2021 19:59:36 +0000 (19:59 +0000)
commitdd2c6998927dc457231c5378f9ba277b7572c88f
tree196ecdeee4348db89e16a3efcf3561975102c9e9
parenteb79d8a3bc9985fafbb661e77016bf3f41f4aa62
crimson/os/seastore/lba_manager/lba_btree: add at_boundary helper distinct from is_end

From an external caller, the condition is identical.  However, internally
iterators may be at a leaf boundary without being at end().  For those
checks, use at_boundary() instead.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/seastore/lba_manager/btree/lba_btree.cc
src/crimson/os/seastore/lba_manager/btree/lba_btree.h