Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'io_uring-5.16-2021-12-03' of git://git.kernel.dk/linux-block

Pull io_uring fix from Jens Axboe:
"Just a single fix preventing repeated retries of task_work based io-wq
thread creation, fixing a regression from when io-wq was made more (a
bit too much) resilient against signals"

* tag 'io_uring-5.16-2021-12-03' of git://git.kernel.dk/linux-block:
io-wq: don't retry task_work creation failure on fatal conditions

+7
+7
fs/io-wq.c
··· 714 714 715 715 static inline bool io_should_retry_thread(long err) 716 716 { 717 + /* 718 + * Prevent perpetual task_work retry, if the task (or its group) is 719 + * exiting. 720 + */ 721 + if (fatal_signal_pending(current)) 722 + return false; 723 + 717 724 switch (err) { 718 725 case -EAGAIN: 719 726 case -ERESTARTSYS: