]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
DBObjectMap: strengthen in_complete_region post condition
authorSamuel Just <sjust@redhat.com>
Fri, 10 Feb 2017 23:50:57 +0000 (15:50 -0800)
committerDavid Zafman <dzafman@redhat.com>
Mon, 27 Mar 2017 15:33:05 +0000 (08:33 -0700)
commit97b35f4d7d4862da4b6f50ecaef0d292a671fd04
tree30b6b32801e47aa4d2e94718b1504897c89471c3
parent74a7631d0938d7b44894f022224eab10a90d5cec
DBObjectMap: strengthen in_complete_region post condition

Previously, in_complete_region didn't guarantee anything about
where it left complete_iter pointing.  It will be handy for
complete_iter to be pointing at the lowest interval which ends
after to_test.  Make it so.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/os/filestore/DBObjectMap.cc
src/os/filestore/DBObjectMap.h