]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: fix locking for promote
authorSage Weil <sage@inktank.com>
Fri, 13 Dec 2013 21:41:58 +0000 (13:41 -0800)
committerSage Weil <sage@inktank.com>
Fri, 20 Dec 2013 00:40:00 +0000 (16:40 -0800)
commit2fda4c01618f7b5e40cbcad2f20e00e35b58f641
tree08ecd183ac6bdbb951661f8a1bf3dd5b7b0abb85
parent927b0e60c2ddf210faf13b198c98e11972805d28
osd/ReplicatedPG: fix locking for promote

After we get the copy-from data and unblock the obc, we still need to take
the RWWRITE lock on the object for the duration of the repop while we
actually apply the change locally.

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