Commit 2c41fab
committed
Merge tag 'io_uring-5.12-2021-03-21' of git://git.kernel.dk/linux-block
Pull io_uring followup fixes from Jens Axboe:
- The SIGSTOP change from Eric, so we properly ignore that for
PF_IO_WORKER threads.
- Disallow sending signals to PF_IO_WORKER threads in general, we're
not interested in having them funnel back to the io_uring owning
task.
- Stable fix from Stefan, ensuring we properly break links for short
send/sendmsg recv/recvmsg if MSG_WAITALL is set.
- Catch and loop when needing to run task_work before a PF_IO_WORKER
threads goes to sleep.
* tag 'io_uring-5.12-2021-03-21' of git://git.kernel.dk/linux-block:
io_uring: call req_set_fail_links() on short send[msg]()/recv[msg]() with MSG_WAITALL
io-wq: ensure task is running before processing task_work
signal: don't allow STOP on PF_IO_WORKER threads
signal: don't allow sending any signals to PF_IO_WORKER threads3 files changed
Lines changed: 31 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
| 389 | + | |
390 | 390 | | |
391 | 391 | | |
| 392 | + | |
392 | 393 | | |
393 | 394 | | |
394 | 395 | | |
| 396 | + | |
395 | 397 | | |
| 398 | + | |
396 | 399 | | |
397 | 400 | | |
398 | 401 | | |
| |||
499 | 502 | | |
500 | 503 | | |
501 | 504 | | |
502 | | - | |
| 505 | + | |
| 506 | + | |
503 | 507 | | |
504 | 508 | | |
505 | 509 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4386 | 4386 | | |
4387 | 4387 | | |
4388 | 4388 | | |
| 4389 | + | |
4389 | 4390 | | |
4390 | 4391 | | |
4391 | 4392 | | |
| |||
4406 | 4407 | | |
4407 | 4408 | | |
4408 | 4409 | | |
| 4410 | + | |
| 4411 | + | |
| 4412 | + | |
4409 | 4413 | | |
4410 | 4414 | | |
4411 | 4415 | | |
| |||
4416 | 4420 | | |
4417 | 4421 | | |
4418 | 4422 | | |
4419 | | - | |
| 4423 | + | |
4420 | 4424 | | |
4421 | 4425 | | |
4422 | 4426 | | |
| |||
4429 | 4433 | | |
4430 | 4434 | | |
4431 | 4435 | | |
| 4436 | + | |
4432 | 4437 | | |
4433 | 4438 | | |
4434 | 4439 | | |
| |||
4450 | 4455 | | |
4451 | 4456 | | |
4452 | 4457 | | |
| 4458 | + | |
| 4459 | + | |
| 4460 | + | |
4453 | 4461 | | |
4454 | 4462 | | |
4455 | 4463 | | |
4456 | 4464 | | |
4457 | 4465 | | |
4458 | 4466 | | |
4459 | 4467 | | |
4460 | | - | |
| 4468 | + | |
4461 | 4469 | | |
4462 | 4470 | | |
4463 | 4471 | | |
| |||
4609 | 4617 | | |
4610 | 4618 | | |
4611 | 4619 | | |
| 4620 | + | |
4612 | 4621 | | |
4613 | 4622 | | |
4614 | 4623 | | |
| |||
4640 | 4649 | | |
4641 | 4650 | | |
4642 | 4651 | | |
| 4652 | + | |
| 4653 | + | |
| 4654 | + | |
4643 | 4655 | | |
4644 | 4656 | | |
4645 | 4657 | | |
| |||
4653 | 4665 | | |
4654 | 4666 | | |
4655 | 4667 | | |
4656 | | - | |
| 4668 | + | |
4657 | 4669 | | |
4658 | 4670 | | |
4659 | 4671 | | |
| |||
4668 | 4680 | | |
4669 | 4681 | | |
4670 | 4682 | | |
| 4683 | + | |
4671 | 4684 | | |
4672 | 4685 | | |
4673 | 4686 | | |
| |||
4699 | 4712 | | |
4700 | 4713 | | |
4701 | 4714 | | |
| 4715 | + | |
| 4716 | + | |
| 4717 | + | |
4702 | 4718 | | |
4703 | 4719 | | |
4704 | 4720 | | |
| |||
4707 | 4723 | | |
4708 | 4724 | | |
4709 | 4725 | | |
4710 | | - | |
| 4726 | + | |
4711 | 4727 | | |
4712 | 4728 | | |
4713 | 4729 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
| 292 | + | |
292 | 293 | | |
293 | 294 | | |
294 | 295 | | |
| |||
833 | 834 | | |
834 | 835 | | |
835 | 836 | | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
836 | 840 | | |
837 | 841 | | |
838 | 842 | | |
| |||
0 commit comments