]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: handle snapdir properly during scrub
authorSage Weil <sage@inktank.com>
Tue, 1 Apr 2014 18:04:47 +0000 (11:04 -0700)
committerSage Weil <sage@inktank.com>
Tue, 1 Apr 2014 18:04:47 +0000 (11:04 -0700)
commitc2e5a428744d5dd36d765317fb78da4633601e5c
tree64653dd22fe7470beb34261440e570e3e3dc1da2
parent87b08b23c3b5f72e49ebe51730f8ccd289321076
osd/ReplicatedPG: handle snapdir properly during scrub

Handle snapdir similarly to how head is treated when updating the
next_clone info.  Also, add a warning when we have a snapdir object and
head_exists == true (the converse of the existing check).

Fixes: #7937
Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/ReplicatedPG.cc