]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: compare nlinks to snapcolls
authorSamuel Just <sam.just@inktank.com>
Thu, 10 Jan 2013 00:41:40 +0000 (16:41 -0800)
committerSamuel Just <sam.just@inktank.com>
Wed, 16 Jan 2013 22:42:47 +0000 (14:42 -0800)
commite65ea70ea64025fbb0709ee8596bb2878be0bbdc
tree3f2265f01554396bbc7b243f47ad905b27565593
parent57352351bb86e0ae9f64f9ba0d460c532d882de6
ReplicatedPG: compare nlinks to snapcolls

nlinks gives us the number of hardlinks to the object.
nlinks should be 1 + snapcolls.size().  This will allow
us to detect links which remain in an erroneous snap
collection.

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