]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
journaler: fix waiting_for_zero clearing, again
authorSage Weil <sage.weil@dreamhost.com>
Wed, 24 Aug 2011 18:01:00 +0000 (11:01 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Wed, 24 Aug 2011 18:01:00 +0000 (11:01 -0700)
commite9b739f8dd39f3373dd0869a0fd5436350e1e3f3
tree172be9201b5fc43b44fd2ae7680a63c19e27c1c6
parent6c6fa6dffddb6f388d03ca59e95844ddf845f491
journaler: fix waiting_for_zero clearing, again

We can only clear this when we have >= a period between flush_pos and
write_pos.

Clear the flag in _do_flush() so the check is not fragile, should this
ever be changed in the future.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/osdc/Journaler.cc