]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: observe INCOMPLETE_CLONES in is_present_clone()
authorSage Weil <sage@redhat.com>
Thu, 24 Jul 2014 01:25:53 +0000 (18:25 -0700)
committerSage Weil <sage@redhat.com>
Sat, 2 Aug 2014 00:00:29 +0000 (17:00 -0700)
commitb94d2f142db63bdf395d8288f8dcef1558d30eaf
tree7386791f8b3b1ad07e097b627193b0b7f600a6bb
parent22cc1b643f83edbfc0475f6da89cf4bd4c89aae1
osd/ReplicatedPG: observe INCOMPLETE_CLONES in is_present_clone()

We cannot assume that just because cache_mode is NONE that we will have
all clones present; check for the absense of the INCOMPLETE_CLONES flag
here too.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 63abf11390bb9b8dd604aae2b3e90596f9ab65ac)
src/osd/ReplicatedPG.cc