summaryrefslogtreecommitdiffstats
path: root/src/nvmeof/NVMeofGwMonitorClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvmeof/NVMeofGwMonitorClient.h')
-rw-r--r--src/nvmeof/NVMeofGwMonitorClient.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvmeof/NVMeofGwMonitorClient.h b/src/nvmeof/NVMeofGwMonitorClient.h
index 5bcca91eb4a..e01c823afb5 100644
--- a/src/nvmeof/NVMeofGwMonitorClient.h
+++ b/src/nvmeof/NVMeofGwMonitorClient.h
@@ -21,7 +21,6 @@
#include "common/Timer.h"
#include "common/LogClient.h"
-#include "client/Client.h"
#include "mon/MonClient.h"
#include "osdc/Objecter.h"
#include "messages/MNVMeofGwMap.h"
@@ -58,9 +57,10 @@ protected:
MonClient monc;
std::unique_ptr<Messenger> client_messenger;
Objecter objecter;
- Client client;
std::map<NvmeGroupKey, NvmeGwMonClientStates> map;
ceph::mutex lock = ceph::make_mutex("NVMeofGw::lock");
+ // allow beacons to be sent independently of handle_nvmeof_gw_map
+ ceph::mutex beacon_lock = ceph::make_mutex("NVMeofGw::beacon_lock");
SafeTimer timer;
int orig_argc;