Project

General

Profile

Actions

Fix #65579

open

mds: use _exit for QA killpoints rather than SIGABRT

Added by Patrick Donnelly 13 days ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Code Hygiene
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
squid,reef
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS, qa-suite
Labels (FS):
qa, task(easy)
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Using signals to abruptly kill the MDS has a few issues:

- teuthology logs are polluted with stacktraces
- coredumps are generated and need cleaned up. These cores are not useful.
- signal handlers are invoked and allow some threads of the MDS to continue executing
- signal handlers may use malloc and lock up the mds

Instead, use the _exit syscall to stop the MDS immediately with an abnormal exit code*. This will immediately stop all threads atomically in the kernel, not generate a coredump, and quietly log to the teuthology.log.

Beyond changing the syscall, the qa suite will need cleaned up to stop looking for cores and may need adjustments to look for genuine exits instead of abnormal termination via signals.

No data to display

Actions

Also available in: Atom PDF