]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
FileStore.h: reorder queue operations in _journaled_ahead
authorSamuel Just <samuel.just@dreamhost.com>
Thu, 24 Feb 2011 20:31:58 +0000 (12:31 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Fri, 25 Feb 2011 22:43:05 +0000 (14:43 -0800)
commit32cf5ac4c0d910b81e237879c46e6a63f3cb7a6b
treecb0739f4c9c1349380533993c23923efdf7977eb
parentafe2d81bcacbd98b1c53dd7b2a13ff827347462e
FileStore.h: reorder queue operations in _journaled_ahead

In writeahead mode, an op could dissappear from jq without immediately
reappearing in q.  Thus, q can be empty before seq is requeued and
finished.  _journaled_ahead will now enqueue the op in q before removing
from jq.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/os/FileStore.cc