Commit b184b83
authored
io_uring cleanups and updates for new flags in Linux 6.2 (#553)
- Rename `IoringSetupFlags`'s `SETUP_SINGLE_ISSUER` and `SETUP_DEFER_TASKRUN`
to `SINGLE_ISSUER` and `DEFER_TASKRUN`, because the `SETUP_` is omitted in
the other `IoringSetupFlags` flags.
- Split `IoringRecvsendFlags` into `IoringSendFlags` and
`IoringRecvFlags`, and add the new `ZC_REPORT_USAGE` send flag.
- Add a public re-export of the new `IORING_NOTIF_USAGE_ZC_COPIED`
flag. In theory we could convert `cqe.res` into a union and use a
bitflags type for `IORING_NOTIF_USAGE_ZC_COPIED`, though my rough
guess is that that's not worth it until it gets more complex.1 parent 352cc4e commit b184b83
1 file changed
+32
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
| 442 | + | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
| 445 | + | |
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
| |||
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
676 | | - | |
| 676 | + | |
677 | 677 | | |
678 | | - | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
679 | 698 | | |
| 699 | + | |
| 700 | + | |
680 | 701 | | |
681 | 702 | | |
682 | 703 | | |
683 | 704 | | |
684 | 705 | | |
685 | 706 | | |
| 707 | + | |
| 708 | + | |
686 | 709 | | |
687 | 710 | | |
688 | 711 | | |
| |||
742 | 765 | | |
743 | 766 | | |
744 | 767 | | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
745 | 771 | | |
746 | 772 | | |
747 | 773 | | |
| |||
878 | 904 | | |
879 | 905 | | |
880 | 906 | | |
881 | | - | |
| 907 | + | |
| 908 | + | |
882 | 909 | | |
883 | 910 | | |
884 | 911 | | |
| |||
0 commit comments