mirror of
https://github.com/ceph/ceph
synced 2025-01-21 02:31:19 +00:00
ceph-fuse.cc: While starting ceph-fuse, start the log thread first
http://tracker.ceph.com/issues/13443 Fixes: #13443 Signed-off-by: Wenjun Huang <wenjunhuang@tencent.com>
This commit is contained in:
parent
ec64463c62
commit
f276308575
@ -103,14 +103,13 @@ int main(int argc, const char **argv, const char *envp[]) {
|
||||
}
|
||||
|
||||
if (childpid == 0) {
|
||||
if (restart_log)
|
||||
g_ceph_context->_log->start();
|
||||
common_init_finish(g_ceph_context);
|
||||
|
||||
//cout << "child, mounting" << std::endl;
|
||||
::close(fd[0]);
|
||||
|
||||
if (restart_log)
|
||||
g_ceph_context->_log->start();
|
||||
|
||||
class RemountTest : public Thread {
|
||||
public:
|
||||
CephFuse *cfuse;
|
||||
|
Loading…
Reference in New Issue
Block a user