]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: take snapset_obc write lock where appropriate
authorSamuel Just <sam.just@inktank.com>
Sun, 16 Feb 2014 01:44:57 +0000 (17:44 -0800)
committerSamuel Just <sam.just@inktank.com>
Mon, 17 Feb 2014 22:25:33 +0000 (14:25 -0800)
commitfd9da00edc27d975f530c3c767e1b86f9437ac62
tree12dfbdbc8ecf1eca245fdbbd12dad9d49aa5d5ef
parentda4652c92d609a1a6ac1fcb547ffa3b60434e5dc
ReplicatedPG: take snapset_obc write lock where appropriate

Otherwise, we might read it for backfill before it's fully created
on a peer.

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