]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: ignore SIGHUP prior to fork
authorhzwuhongsong <hzwuhongsong@corp.netease.com>
Tue, 30 Jun 2020 07:46:28 +0000 (15:46 +0800)
committerNathan Cutler <ncutler@suse.com>
Sun, 9 Aug 2020 20:41:27 +0000 (22:41 +0200)
commit477dae404075d2f6720fc36d3bfaeb4783c35b2d
tree62192a4881fdc911c3f9af4e7e3aa1e8a1635269
parentaa50a1c6d3757cd0a2e1be2cd61a923ccd14c244
common: ignore SIGHUP prior to fork

Otherwise, the ceph-fuse process is terminated by the logratote task and will produce one Uninterruptible Sleep process.

Fixes: http://tracker.ceph.com/issues/46269
Signed-off-by: hzwuhongsong <hzwuhongsong@corp.netease.com>
(cherry picked from commit 385efa7d284438d77e22dde2f728ba3d541c489e)
src/common/Preforker.h