Skip to content
Commit 87c16966 authored by Jens Axboe's avatar Jens Axboe
Browse files

io-wq: ensure we exit if thread group is exiting



Dave reports that a coredumping workload gets stuck in 5.15-rc2, and
identified the culprit in the Fixes line below. The problem is that
relying solely on fatal_signal_pending() to gate whether to exit or not
fails miserably if a process gets eg SIGILL sent. Don't exclusively
rely on fatal signals, also check if the thread group is exiting.

Fixes: 15e20db2 ("io-wq: only exit on fatal signals")
Reported-by: default avatarDave Chinner <david@fromorbit.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent e4e737bb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment