]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/JournalingObjectStore: un-break op quiescing during journal replay
authorSage Weil <sage@inktank.com>
Wed, 12 Dec 2012 01:15:56 +0000 (17:15 -0800)
committerSage Weil <sage@inktank.com>
Wed, 12 Dec 2012 01:15:56 +0000 (17:15 -0800)
commitcaea0cbf9f63d74506d69a596dd3f78097d68da5
tree912db1e2b52171b44a5aae95e75f33db84bca525
parent29307d3b32e523da7f25a6c3bc904749790b1e18
os/JournalingObjectStore: un-break op quiescing during journal replay

Commit d9dce4e9273adb4279519d65a0d8bfdfecb5c516 broke journal replay
because the commit thread may try to do a commit, and the ops are not
being applied via the normal work queue.  Add back in a simpler form of the
old op quiescing (simpler because there is a single thread doing the
replay).

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
src/os/JournalingObjectStore.cc