Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ceph-fuse: start up log on parent process before shutdown #12358

Merged
merged 1 commit into from Dec 14, 2016

Commits on Dec 8, 2016

  1. ceph-fuse: rewrite the fork hackery using Prefork

    in this change we use global_init_postfork_start() to restart the
    log after it is stopped by Preforker.
    
    * ceph_fuse.c:
       - rewrite the fork hackery using Preforker helper class
       - write "starting ceph client" message to cerr, as the cout was
         closed
         by global_init_postfork_start()
    * fuse_ll.cc: write -1 to signal the parent process that init is
      done.
    * Preforker.h: add a helper method to return the fd to which, the
      child process can write an int to notify its status.
    
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed Dec 8, 2016
    Copy the full SHA
    83aaa55 View commit details
    Browse the repository at this point in the history