mirror of
https://github.com/ceph/ceph
synced 2025-01-03 17:42:36 +00:00
osd: use the client_messenger for the logclient.
This commit is contained in:
parent
42c00850d9
commit
d7d615bc15
@ -337,7 +337,7 @@ OSD::OSD(int id, Messenger *internal_messenger, Messenger *external_messenger, M
|
||||
logger(NULL), logger_started(false),
|
||||
store(NULL),
|
||||
map_in_progress(false),
|
||||
logclient(cluster_messenger, &mc->monmap, mc),
|
||||
logclient(client_messenger, &mc->monmap, mc),
|
||||
whoami(id),
|
||||
dev_path(dev), journal_path(jdev),
|
||||
dispatch_running(false),
|
||||
@ -511,7 +511,6 @@ int OSD::init()
|
||||
client_messenger->add_dispatcher_head(&logclient);
|
||||
if (cluster_messenger != client_messenger) {
|
||||
cluster_messenger->add_dispatcher_head(this);
|
||||
cluster_messenger->add_dispatcher_head(&logclient);
|
||||
}
|
||||
|
||||
heartbeat_messenger->add_dispatcher_head(&heartbeat_dispatcher);
|
||||
|
Loading…
Reference in New Issue
Block a user