Commit ac2aa2c
committed
Kill of IO engine cancelation support
This was more of a thought experiment back in the day, but even for
an old interface like libaio on Linux, it does not support canceling
IOs at all. Neither does posixaio. And while cancel support could
get plumbed up to io_uring, since Linux doesn't support canceling
normal IO, then it will never do anything.
Hence it's utterly pointless to have a cancel ops in the IO engine,
and the backend attempts at first reaping done IO and then canceling
the rest is also then pointless.
Just replace the at-exit cancelation with waiting on pending IO.
Signed-off-by: Jens Axboe <[email protected]>1 parent a475300 commit ac2aa2c
File tree
6 files changed
+5
-82
lines changed- engines
6 files changed
+5
-82
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | 225 | | |
259 | 226 | | |
260 | 227 | | |
| |||
614 | 581 | | |
615 | 582 | | |
616 | 583 | | |
617 | | - | |
618 | 584 | | |
| 585 | + | |
619 | 586 | | |
620 | 587 | | |
621 | 588 | | |
| |||
751 | 718 | | |
752 | 719 | | |
753 | 720 | | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | | - | |
760 | | - | |
| 721 | + | |
| 722 | + | |
761 | 723 | | |
762 | 724 | | |
763 | 725 | | |
| |||
1313 | 1275 | | |
1314 | 1276 | | |
1315 | 1277 | | |
1316 | | - | |
| 1278 | + | |
1317 | 1279 | | |
1318 | 1280 | | |
1319 | 1281 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | 392 | | |
400 | 393 | | |
401 | 394 | | |
| |||
470 | 463 | | |
471 | 464 | | |
472 | 465 | | |
473 | | - | |
474 | 466 | | |
475 | 467 | | |
476 | 468 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 30 | | |
43 | 31 | | |
44 | 32 | | |
| |||
212 | 200 | | |
213 | 201 | | |
214 | 202 | | |
215 | | - | |
216 | 203 | | |
217 | 204 | | |
218 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | 74 | | |
84 | 75 | | |
85 | 76 | | |
| |||
214 | 205 | | |
215 | 206 | | |
216 | 207 | | |
217 | | - | |
218 | 208 | | |
219 | 209 | | |
220 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 22 | | |
29 | 23 | | |
30 | 24 | | |
| |||
213 | 207 | | |
214 | 208 | | |
215 | 209 | | |
216 | | - | |
217 | 210 | | |
218 | 211 | | |
219 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
0 commit comments