Skip to content

Commit

Permalink
Merge pull request #6395 from SUSE/wip-13593-infernalis
Browse files Browse the repository at this point in the history
Ceph-fuse won't start correctly when the option log_max_new in ceph.conf set to zero

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
  • Loading branch information
Abhishekvrshny committed Dec 9, 2015
2 parents d3aaeae + 34d0b69 commit f480cea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ceph_fuse.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f480cea

Please sign in to comment.