]> 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)
committerSamuel Just <samuel.just@dreamhost.com>
Thu, 24 Feb 2011 21:40:56 +0000 (13:40 -0800)
commit8dfffd000a83e2faf5d4db89a235db3b8dc0b9f1
tree9073d5cb1338ef28aa77dd75d4fb584207639aca
parent9570d6e218f6ad7621bdbefb41611bc0adeffc12
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