]> 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>
Wed, 26 Apr 2017 21:03:54 +0000 (14:03 -0700)
commit1fe4b856a37b29c85a9317e514c7f15f8e4905d5
tree20aed2b9ecc1587ae62d974b3c6deb10c0520d33
parent85f2151fec991e5db13d8e6f44b27e092605fb35
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>
(cherry picked from commit 97b35f4d7d4862da4b6f50ecaef0d292a671fd04)
src/os/filestore/DBObjectMap.cc
src/os/filestore/DBObjectMap.h