]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/common: don't use Seastar's handle_signal() for fatal signals.
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 19 Apr 2021 14:32:05 +0000 (14:32 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 19 Apr 2021 15:24:04 +0000 (15:24 +0000)
commit33cc480d1182412ee00be527ac033bb5515ce023
tree25d952ebc60074158a6864a698c6aad269853202
parent7dec410192040f3b7494911f0adbd1195193a580
crimson/common: don't use Seastar's handle_signal() for fatal signals.

The `handle_signal()` way requires going through the reactor, and
thus is unsuitable for situations when it's no longer operational.
SIGSEGV generated as a result of actual fault (not `kill()`) is
the intended audience of this change.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/common/fatal_signal.cc
src/crimson/common/fatal_signal.h