Commit f6f360a
committed
Merge tag 'io_uring-5.15-2021-09-25' of git://git.kernel.dk/linux-block
Pull io_uring fixes from Jens Axboe:
"This one looks a bit bigger than it is, but that's mainly because 2/3
of it is enabling IORING_OP_CLOSE to close direct file descriptors.
We've had a few folks using them and finding it confusing that the way
to close them is through using -1 for file update, this just brings
API symmetry for direct descriptors. Hence I think we should just do
this now and have a better API for 5.15 release. There's some room for
de-duplicating the close code, but we're leaving that for the next
merge window.
Outside of that, just small fixes:
- Poll race fixes (Hao)
- io-wq core dump exit fix (me)
- Reschedule around potentially intensive tctx and buffer iterators
on teardown (me)
- Fix for always ending up punting files update to io-wq (me)
- Put the provided buffer meta data under memcg accounting (me)
- Tweak for io_write(), removing dead code that was added with the
iterator changes in this release (Pavel)"
* tag 'io_uring-5.15-2021-09-25' of git://git.kernel.dk/linux-block:
io_uring: make OP_CLOSE consistent with direct open
io_uring: kill extra checks in io_write()
io_uring: don't punt files update to io-wq unconditionally
io_uring: put provided buffer meta data under memcg accounting
io_uring: allow conditional reschedule for intensive iterators
io_uring: fix potential req refcount underflow
io_uring: fix missing set of EPOLLONESHOT for CQ ring overflow
io_uring: fix race between poll completion and cancel_hash insertion
io-wq: ensure we exit if thread group is exiting2 files changed
Lines changed: 72 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
587 | | - | |
| 587 | + | |
| 588 | + | |
588 | 589 | | |
589 | 590 | | |
590 | 591 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
| 505 | + | |
505 | 506 | | |
506 | 507 | | |
507 | 508 | | |
| |||
1098 | 1099 | | |
1099 | 1100 | | |
1100 | 1101 | | |
| 1102 | + | |
| 1103 | + | |
1101 | 1104 | | |
1102 | 1105 | | |
1103 | 1106 | | |
| |||
3605 | 3608 | | |
3606 | 3609 | | |
3607 | 3610 | | |
3608 | | - | |
3609 | 3611 | | |
3610 | 3612 | | |
3611 | 3613 | | |
| |||
3670 | 3672 | | |
3671 | 3673 | | |
3672 | 3674 | | |
3673 | | - | |
3674 | | - | |
3675 | 3675 | | |
3676 | 3676 | | |
3677 | 3677 | | |
| |||
4387 | 4387 | | |
4388 | 4388 | | |
4389 | 4389 | | |
4390 | | - | |
| 4390 | + | |
4391 | 4391 | | |
4392 | 4392 | | |
4393 | 4393 | | |
| |||
4594 | 4594 | | |
4595 | 4595 | | |
4596 | 4596 | | |
4597 | | - | |
| 4597 | + | |
4598 | 4598 | | |
4599 | 4599 | | |
4600 | 4600 | | |
4601 | 4601 | | |
4602 | 4602 | | |
| 4603 | + | |
| 4604 | + | |
| 4605 | + | |
| 4606 | + | |
4603 | 4607 | | |
4604 | 4608 | | |
4605 | 4609 | | |
| |||
4611 | 4615 | | |
4612 | 4616 | | |
4613 | 4617 | | |
| 4618 | + | |
| 4619 | + | |
| 4620 | + | |
| 4621 | + | |
| 4622 | + | |
4614 | 4623 | | |
4615 | 4624 | | |
4616 | 4625 | | |
| |||
5338 | 5347 | | |
5339 | 5348 | | |
5340 | 5349 | | |
5341 | | - | |
| 5350 | + | |
5342 | 5351 | | |
5343 | 5352 | | |
5344 | 5353 | | |
| |||
5367 | 5376 | | |
5368 | 5377 | | |
5369 | 5378 | | |
| 5379 | + | |
| 5380 | + | |
| 5381 | + | |
| 5382 | + | |
5370 | 5383 | | |
5371 | 5384 | | |
5372 | 5385 | | |
5373 | 5386 | | |
| 5387 | + | |
5374 | 5388 | | |
5375 | 5389 | | |
5376 | 5390 | | |
| |||
5508 | 5522 | | |
5509 | 5523 | | |
5510 | 5524 | | |
| 5525 | + | |
5511 | 5526 | | |
5512 | 5527 | | |
5513 | 5528 | | |
| |||
5828 | 5843 | | |
5829 | 5844 | | |
5830 | 5845 | | |
| 5846 | + | |
5831 | 5847 | | |
5832 | 5848 | | |
5833 | 5849 | | |
| |||
5836 | 5852 | | |
5837 | 5853 | | |
5838 | 5854 | | |
5839 | | - | |
| 5855 | + | |
5840 | 5856 | | |
5841 | 5857 | | |
5842 | 5858 | | |
5843 | 5859 | | |
5844 | 5860 | | |
5845 | | - | |
| 5861 | + | |
5846 | 5862 | | |
5847 | 5863 | | |
5848 | 5864 | | |
| |||
6333 | 6349 | | |
6334 | 6350 | | |
6335 | 6351 | | |
6336 | | - | |
6337 | | - | |
6338 | | - | |
6339 | 6352 | | |
6340 | 6353 | | |
6341 | 6354 | | |
6342 | 6355 | | |
6343 | 6356 | | |
6344 | 6357 | | |
6345 | | - | |
| 6358 | + | |
6346 | 6359 | | |
6347 | 6360 | | |
6348 | | - | |
| 6361 | + | |
6349 | 6362 | | |
6350 | 6363 | | |
6351 | 6364 | | |
| |||
8400 | 8413 | | |
8401 | 8414 | | |
8402 | 8415 | | |
| 8416 | + | |
| 8417 | + | |
| 8418 | + | |
| 8419 | + | |
| 8420 | + | |
| 8421 | + | |
| 8422 | + | |
| 8423 | + | |
| 8424 | + | |
| 8425 | + | |
| 8426 | + | |
| 8427 | + | |
| 8428 | + | |
| 8429 | + | |
| 8430 | + | |
| 8431 | + | |
| 8432 | + | |
| 8433 | + | |
| 8434 | + | |
| 8435 | + | |
| 8436 | + | |
| 8437 | + | |
| 8438 | + | |
| 8439 | + | |
| 8440 | + | |
| 8441 | + | |
| 8442 | + | |
| 8443 | + | |
| 8444 | + | |
| 8445 | + | |
| 8446 | + | |
| 8447 | + | |
| 8448 | + | |
| 8449 | + | |
| 8450 | + | |
| 8451 | + | |
| 8452 | + | |
| 8453 | + | |
8403 | 8454 | | |
8404 | 8455 | | |
8405 | 8456 | | |
| |||
9166 | 9217 | | |
9167 | 9218 | | |
9168 | 9219 | | |
9169 | | - | |
| 9220 | + | |
9170 | 9221 | | |
| 9222 | + | |
| 9223 | + | |
9171 | 9224 | | |
9172 | 9225 | | |
9173 | 9226 | | |
| |||
9665 | 9718 | | |
9666 | 9719 | | |
9667 | 9720 | | |
9668 | | - | |
| 9721 | + | |
9669 | 9722 | | |
| 9723 | + | |
| 9724 | + | |
9670 | 9725 | | |
9671 | 9726 | | |
9672 | 9727 | | |
| |||
0 commit comments