]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: add have_map method
authorJohn Spray <john.spray@redhat.com>
Mon, 20 Oct 2014 15:41:29 +0000 (16:41 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 16 Dec 2014 20:45:58 +0000 (20:45 +0000)
commit3ad6ed3d4e81e9b891fd10343b14bdf766ab1f7b
tree5e6e9dc8f353da1085b79e7826755014c669c95d
parentfe32d6ee88ab0b9e9b4b808a60638b425e4eb728
osdc/Objecter: add have_map method

This is for places we're going to call wait_for_map, so
that we can easily check if we will *probably* get
a true from wait_for_map, and thereby avoid
allocating Contexts we won't need.

Signed-off-by: John Spray <john.spray@redhat.com>
src/osdc/Objecter.cc
src/osdc/Objecter.h