]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG::start_flush: fix clone deletion case 1832/head 1834/head
authorSamuel Just <sam.just@inktank.com>
Fri, 16 May 2014 23:56:33 +0000 (16:56 -0700)
committerSamuel Just <sam.just@inktank.com>
Mon, 19 May 2014 21:27:02 +0000 (14:27 -0700)
commit29f615b7ac9e92f77cdef9927070727fee9d5e33
tree33616f485b14eeb9298b36d64b34e49be10b507f
parent2ec2182745fa7c22526a7cf3dedb25bc314c9db4
ReplicatedPG::start_flush: fix clone deletion case

dsnapc.snaps will be non-empty most of the time if there
have been snaps before prev_snapc.  What we really want to
know is whether there are any snaps between oi.snaps.back()
and prev_snapc.

Fixes: 8334
Backport: firefly
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/ReplicatedPG.cc