From a7bd6bb0b49e5e22ed8ce473199cd4a505d50ab1 Mon Sep 17 00:00:00 2001 From: Venky Shankar Date: Wed, 16 Sep 2020 03:23:05 -0400 Subject: [PATCH] cephfs-mirror: periodically drive mirror enable, disable and peer updates ... and switch using (name, id) tuple to identify a filesystem. Signed-off-by: Venky Shankar --- src/common/options.cc | 7 + src/tools/cephfs_mirror/FSMirror.cc | 11 +- src/tools/cephfs_mirror/FSMirror.h | 4 +- src/tools/cephfs_mirror/Mirror.cc | 315 +++++++++++++++++++++------- src/tools/cephfs_mirror/Mirror.h | 53 +++-- 5 files changed, 297 insertions(+), 93 deletions(-) diff --git a/src/common/options.cc b/src/common/options.cc index 286d5bf7719..e2ca57afbf1 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -8778,6 +8778,13 @@ std::vector