]> git.baikalelectronics.ru Git - kernel.git/commit
io-wq: only exit on fatal signals
authorJens Axboe <axboe@kernel.dk>
Wed, 1 Sep 2021 17:18:41 +0000 (11:18 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Sep 2021 18:35:32 +0000 (12:35 -0600)
commitafcedcab38b1bc88a9a2f2a83aee1a3086c4245e
tree74de1572a73f8dd3630822fa4e89ea41888ec8d2
parent72ddc8a9b03e89884a14df0a14dbcad2bec632bd
io-wq: only exit on fatal signals

If the application uses io_uring and also relies heavily on signals
for communication, that can cause io-wq workers to spuriously exit
just because the parent has a signal pending. Just ignore signals
unless they are fatal.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c