Allow to turn synchronous recvmsg/sendmsg on with a config option

This commit is contained in:
Vitaliy Filippov
2020-06-23 01:15:07 +03:00
parent 9abaf5b735
commit 62343c8022
6 changed files with 51 additions and 21 deletions
+1
View File
@@ -233,6 +233,7 @@ struct osd_messenger_t
int peer_connect_interval = DEFAULT_PEER_CONNECT_INTERVAL;
int peer_connect_timeout = DEFAULT_PEER_CONNECT_TIMEOUT;
int log_level = 0;
bool use_sync_send_recv = false;
std::map<osd_num_t, osd_wanted_peer_t> wanted_peers;
std::map<uint64_t, int> osd_peer_fds;