]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: always clear_flushed() after finish_flush()
authorSage Weil <sage.weil@dreamhost.com>
Tue, 5 Jul 2011 21:22:24 +0000 (14:22 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Tue, 5 Jul 2011 21:22:24 +0000 (14:22 -0700)
commit2aa146a7a2fa0e28ff36837ea189d184a6baab2b
tree3f786834cabfdbdc2fc72998a1ff8c2b6ab54433
parentfb7696f3b3c3423b961d0b4490fe5194e0d8a239
mds: always clear_flushed() after finish_flush()

The scatter_writebehind_finish() is always followed up by an eval_gather(),
which does the clear_flushed().  For everyone else (replicas!), we need to
clear it immediately to avoid confusing things later.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/mds/Locker.cc
src/mds/ScatterLock.h