summaryrefslogtreecommitdiffstats
path: root/src/mds/Server.cc
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2023-06-13 12:30:34 +0200
committerXiubo Li <xiubli@redhat.com>2023-09-27 02:55:19 +0200
commit7df5714803e659a591075fb1db146f2a447b4afa (patch)
tree3ca876eff37bfc6b2965de0780b4ece8a481d41f /src/mds/Server.cc
parentMerge pull request #53685 from zdover23/wip-doc-2023-09-27-architecture-11-of-x (diff)
downloadceph-7df5714803e659a591075fb1db146f2a447b4afa.tar.xz
ceph-7df5714803e659a591075fb1db146f2a447b4afa.zip
mds: fix the description for inotable testing only options
The description text are mixed for mds_kill_skip_replaying_inotable and mds_inject_skip_replaying_inotable. At the same time rename "mds_kill_skip_replaying_inotable", which is a bit confusing to "mds_kill_after_journal_logs_flushed". Fixes: https://tracker.ceph.com/issues/61660 Signed-off-by: Xiubo Li <xiubli@redhat.com>
Diffstat (limited to 'src/mds/Server.cc')
-rw-r--r--src/mds/Server.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mds/Server.cc b/src/mds/Server.cc
index 01a190c6bf8..f9ed8315246 100644
--- a/src/mds/Server.cc
+++ b/src/mds/Server.cc
@@ -4557,7 +4557,7 @@ public:
ceph_assert(r == 0);
// crash current MDS and the replacing MDS will test the journal
- ceph_assert(!g_conf()->mds_kill_skip_replaying_inotable);
+ ceph_assert(!g_conf()->mds_kill_after_journal_logs_flushed);
dn->pop_projected_linkage();
@@ -6874,7 +6874,7 @@ public:
ceph_assert(r == 0);
// crash current MDS and the replacing MDS will test the journal
- ceph_assert(!g_conf()->mds_kill_skip_replaying_inotable);
+ ceph_assert(!g_conf()->mds_kill_after_journal_logs_flushed);
// link the inode
dn->pop_projected_linkage();
@@ -7166,7 +7166,7 @@ void Server::handle_client_symlink(MDRequestRef& mdr)
mds->balancer->maybe_fragment(dir, false);
// flush the journal as soon as possible
- if (g_conf()->mds_kill_skip_replaying_inotable) {
+ if (g_conf()->mds_kill_after_journal_logs_flushed) {
mdlog->flush();
}
}