]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: ignore SIGHUP 36417/head
authorKefu Chai <kchai@redhat.com>
Mon, 3 Aug 2020 03:04:38 +0000 (11:04 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 3 Aug 2020 03:04:40 +0000 (11:04 +0800)
commit6c2bd5a3279f5c2f22393cbac8b4c6c0a7d81d68
tree864e769612428ebeaf1d4c2a10107390a0df2bbb
parent69de458e2ffd0421241033339ffd0a696ec54efb
crimson/osd: ignore SIGHUP

ignore SIGHUP, as crimson does not write log messages using the
facilities offered by ceph::logging. it uses seastar::logger instead.

and seastar::logger writes to stderr, stdout and/or syslog. there is no
need to reopen the log file when the settings change.

and we do send SIGHUP to OSD processes when performing thrash tests. to
avoid killing crimson-osd processes by accident. SIGHUP is ignored.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/main.cc