]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async: do not make Stack a fork watcher
authorSage Weil <sage@redhat.com>
Wed, 28 Feb 2018 15:51:30 +0000 (09:51 -0600)
committerSage Weil <sage@redhat.com>
Sun, 4 Mar 2018 21:31:54 +0000 (15:31 -0600)
commit85f6873e0420405ce1682abfc2c2884fa102a239
tree6216bb5303a3aa7984029d5d93d231262de9324d
parent2e47633ffa499b41255aed1ba8ea12e14ef556ba
msg/async: do not make Stack a fork watcher

Instead of doing a stop/start on fork, shut down entirely pre-fork.  This
is a cleaner solution for the cases where e.g. the parent does not need
to restart the msgr at all (this is usually the case!) but does need
to call psotfork_start in order to restart log thread (which is assumed
to be running when the parent's cct is destroyed).

Signed-off-by: Sage Weil <sage@redhat.com>
src/msg/async/Stack.cc
src/msg/async/Stack.h