]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: remove mds_log_unsafe mode
authorSage Weil <sage.weil@dreamhost.com>
Thu, 24 Mar 2011 03:58:03 +0000 (20:58 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Thu, 24 Mar 2011 18:41:14 +0000 (11:41 -0700)
commit39be6c440416d40e8f18823b0437052a25690ad5
tree03e88ca1ad54d9f43656c0df86412dd99895c7a5
parent1324f8f727e365196e967ceab441af2e8594f63a
mds: remove mds_log_unsafe mode

The mds_log_unsafe mode would wait for ack for some journal writes, and
safe for others.  Now that we can reply to client requests without waiting
for the journal to flush (as of ~2 years ago), this distinction is no
longer useful.  It is also more error-prone, as it complicates the code
and vastly expands the possible combinations of MDS failures and replay
scenarios we need to verify.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/common/config.cc
src/common/config.h
src/mds/CDir.cc
src/mds/Locker.cc
src/mds/MDCache.cc
src/mds/MDLog.cc
src/mds/MDLog.h
src/mds/MDSTableServer.cc
src/mds/Migrator.cc
src/mds/Server.cc