Commit d884b64
io_uring: remove IORING_CLOSE_FD_AND_FILE_SLOT
This partially reverts a7c41b4
Even though IORING_CLOSE_FD_AND_FILE_SLOT might save cycles for some
users, but it tries to do two things at a time and it's not clear how to
handle errors and what to return in a single result field when one part
fails and another completes well. Kill it for now.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/837c745019b3795941eee4fcfd7de697886d645b.1655224415.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent aa165d6 commit d884b64
2 files changed
Lines changed: 3 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
579 | | - | |
580 | 579 | | |
581 | 580 | | |
582 | 581 | | |
| |||
5966 | 5965 | | |
5967 | 5966 | | |
5968 | 5967 | | |
5969 | | - | |
| 5968 | + | |
5970 | 5969 | | |
5971 | 5970 | | |
5972 | 5971 | | |
5973 | 5972 | | |
5974 | 5973 | | |
5975 | 5974 | | |
5976 | | - | |
5977 | | - | |
5978 | | - | |
5979 | | - | |
5980 | | - | |
| 5975 | + | |
5981 | 5976 | | |
5982 | 5977 | | |
5983 | 5978 | | |
| |||
5993 | 5988 | | |
5994 | 5989 | | |
5995 | 5990 | | |
5996 | | - | |
5997 | | - | |
| 5991 | + | |
5998 | 5992 | | |
5999 | 5993 | | |
6000 | 5994 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
259 | 258 | | |
260 | 259 | | |
261 | 260 | | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | 261 | | |
268 | 262 | | |
269 | 263 | | |
| |||
0 commit comments