Commit eff5f16
committed
Merge tag 'for-6.15/io_uring-reg-vec-20250327' of git://git.kernel.dk/linux
Pull more io_uring updates from Jens Axboe:
"Final separate updates for io_uring.
This started out as a series of cleanups improvements and improvements
for registered buffers, but as the last series of the io_uring changes
for 6.15, it also collected a few fixes for the other branches on top:
- Add support for vectored fixed/registered buffers.
Previously only single segments have been supported for commands,
now vectored variants are supported as well. This series includes
networking and file read/write support.
- Small series unifying return codes across multi and single shot.
- Small series cleaning up registerd buffer importing.
- Adding support for vectored registered buffers for uring_cmd.
- Fix for io-wq handling of command reissue.
- Various little fixes and tweaks"
* tag 'for-6.15/io_uring-reg-vec-20250327' of git://git.kernel.dk/linux: (25 commits)
io_uring/net: fix io_req_post_cqe abuse by send bundle
io_uring/net: use REQ_F_IMPORT_BUFFER for send_zc
io_uring: move min_events sanitisation
io_uring: rename "min" arg in io_iopoll_check()
io_uring: open code __io_post_aux_cqe()
io_uring: defer iowq cqe overflow via task_work
io_uring: fix retry handling off iowq
io_uring/net: only import send_zc buffer once
io_uring/cmd: introduce io_uring_cmd_import_fixed_vec
io_uring/cmd: add iovec cache for commands
io_uring/cmd: don't expose entire cmd async data
io_uring: rename the data cmd cache
io_uring: rely on io_prep_reg_vec for iovec placement
io_uring: introduce io_prep_reg_iovec()
io_uring: unify STOP_MULTISHOT with IOU_OK
io_uring: return -EAGAIN to continue multishot
io_uring: cap cached iovec/bvec size
io_uring/net: implement vectored reg bufs for zctx
io_uring/net: convert to struct iou_vec
io_uring/net: pull vec alloc out of msghdr import
...File tree
16 files changed
+567
-211
lines changed- include
- linux
- io_uring
- uapi/linux
- io_uring
16 files changed
+567
-211
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
| |||
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
79 | 92 | | |
80 | 93 | | |
81 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
113 | 121 | | |
114 | 122 | | |
115 | 123 | | |
| |||
310 | 318 | | |
311 | 319 | | |
312 | 320 | | |
313 | | - | |
| 321 | + | |
314 | 322 | | |
315 | 323 | | |
316 | 324 | | |
| |||
482 | 490 | | |
483 | 491 | | |
484 | 492 | | |
| 493 | + | |
485 | 494 | | |
486 | 495 | | |
487 | 496 | | |
| |||
494 | 503 | | |
495 | 504 | | |
496 | 505 | | |
| 506 | + | |
497 | 507 | | |
498 | 508 | | |
499 | 509 | | |
| |||
558 | 568 | | |
559 | 569 | | |
560 | 570 | | |
| 571 | + | |
| 572 | + | |
561 | 573 | | |
562 | 574 | | |
563 | 575 | | |
| |||
576 | 588 | | |
577 | 589 | | |
578 | 590 | | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
579 | 596 | | |
580 | 597 | | |
581 | 598 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| 284 | + | |
| 285 | + | |
284 | 286 | | |
285 | 287 | | |
286 | 288 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 19 | | |
29 | 20 | | |
30 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
338 | | - | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
339 | 340 | | |
340 | 341 | | |
341 | 342 | | |
| |||
833 | 834 | | |
834 | 835 | | |
835 | 836 | | |
836 | | - | |
837 | | - | |
| 837 | + | |
838 | 838 | | |
839 | 839 | | |
840 | 840 | | |
| 841 | + | |
841 | 842 | | |
842 | 843 | | |
843 | 844 | | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | | - | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | 845 | | |
855 | 846 | | |
856 | 847 | | |
| |||
891 | 882 | | |
892 | 883 | | |
893 | 884 | | |
| 885 | + | |
894 | 886 | | |
895 | 887 | | |
896 | 888 | | |
| |||
903 | 895 | | |
904 | 896 | | |
905 | 897 | | |
906 | | - | |
| 898 | + | |
| 899 | + | |
907 | 900 | | |
908 | 901 | | |
909 | 902 | | |
910 | 903 | | |
911 | 904 | | |
912 | 905 | | |
913 | | - | |
914 | | - | |
915 | | - | |
916 | | - | |
| 906 | + | |
| 907 | + | |
917 | 908 | | |
918 | 909 | | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
919 | 913 | | |
920 | 914 | | |
921 | 915 | | |
| |||
1511 | 1505 | | |
1512 | 1506 | | |
1513 | 1507 | | |
1514 | | - | |
| 1508 | + | |
1515 | 1509 | | |
1516 | 1510 | | |
1517 | 1511 | | |
1518 | 1512 | | |
| 1513 | + | |
| 1514 | + | |
1519 | 1515 | | |
1520 | 1516 | | |
1521 | 1517 | | |
| |||
1557 | 1553 | | |
1558 | 1554 | | |
1559 | 1555 | | |
1560 | | - | |
| 1556 | + | |
1561 | 1557 | | |
1562 | 1558 | | |
1563 | 1559 | | |
| |||
1570 | 1566 | | |
1571 | 1567 | | |
1572 | 1568 | | |
1573 | | - | |
| 1569 | + | |
1574 | 1570 | | |
1575 | 1571 | | |
1576 | 1572 | | |
| |||
1580 | 1576 | | |
1581 | 1577 | | |
1582 | 1578 | | |
1583 | | - | |
| 1579 | + | |
1584 | 1580 | | |
1585 | 1581 | | |
1586 | 1582 | | |
| |||
1791 | 1787 | | |
1792 | 1788 | | |
1793 | 1789 | | |
1794 | | - | |
1795 | | - | |
1796 | | - | |
1797 | | - | |
| 1790 | + | |
1798 | 1791 | | |
1799 | 1792 | | |
1800 | 1793 | | |
| |||
1847 | 1840 | | |
1848 | 1841 | | |
1849 | 1842 | | |
1850 | | - | |
| 1843 | + | |
1851 | 1844 | | |
1852 | 1845 | | |
1853 | 1846 | | |
| |||
1858 | 1851 | | |
1859 | 1852 | | |
1860 | 1853 | | |
1861 | | - | |
| 1854 | + | |
1862 | 1855 | | |
1863 | 1856 | | |
1864 | 1857 | | |
| |||
2549 | 2542 | | |
2550 | 2543 | | |
2551 | 2544 | | |
| 2545 | + | |
| 2546 | + | |
2552 | 2547 | | |
2553 | 2548 | | |
2554 | 2549 | | |
| |||
3435 | 3430 | | |
3436 | 3431 | | |
3437 | 3432 | | |
3438 | | - | |
3439 | | - | |
3440 | | - | |
| 3433 | + | |
3441 | 3434 | | |
3442 | | - | |
3443 | 3435 | | |
3444 | 3436 | | |
3445 | 3437 | | |
3446 | 3438 | | |
3447 | 3439 | | |
3448 | | - | |
3449 | | - | |
3450 | | - | |
| 3440 | + | |
3451 | 3441 | | |
3452 | 3442 | | |
3453 | | - | |
3454 | 3443 | | |
3455 | 3444 | | |
3456 | 3445 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
25 | 35 | | |
26 | 36 | | |
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
30 | 40 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
0 commit comments