]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
global/signal_handler: poll on the control pipe, too
authorSage Weil <sage@inktank.com>
Wed, 24 Jul 2013 20:56:10 +0000 (13:56 -0700)
committerSage Weil <sage@inktank.com>
Wed, 24 Jul 2013 20:56:17 +0000 (13:56 -0700)
commitd7df620b5723d6d7d41338be330ca293f62aa23c
tree4ae6050c505512ad8f5bd01c7106af05e7fd0ee6
parent26d0f04b75c47ea799f4b7a204bf0ac36efc384b
global/signal_handler: poll on the control pipe, too

We also need to poll the control fd/pipe so that we restart the poll loop
when new signal handlers are added.  This was broken by commit 8e4a78f1.

Fixes: #5742
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
src/global/signal_handler.cc