Commit 039a2e8
committed
io_uring/rw: reinstate thread check for retries
Allowing retries for everything is arguably the right thing to do, now
that every command type is async read from the start. But it's exposed a
few issues around missing check for a retry (which cca6571 exposed),
and the fixup commit for that isn't necessarily 100% sound in terms of
iov_iter state.
For now, just revert these two commits. This unfortunately then re-opens
the fact that -EAGAIN can get bubbled to userspace for some cases where
the kernel very well could just sanely retry them. But until we have all
the conditions covered around that, we cannot safely enable that.
This reverts commit df604d2.
This reverts commit cca6571.
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 6fe4220 commit 039a2e8
3 files changed
Lines changed: 29 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | 530 | | |
544 | 531 | | |
545 | 532 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
399 | 407 | | |
400 | 408 | | |
401 | | - | |
402 | 409 | | |
403 | 410 | | |
404 | 411 | | |
| |||
414 | 421 | | |
415 | 422 | | |
416 | 423 | | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
417 | 430 | | |
| 431 | + | |
418 | 432 | | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
419 | 438 | | |
420 | | - | |
421 | 439 | | |
| 440 | + | |
422 | 441 | | |
423 | 442 | | |
424 | 443 | | |
| |||
455 | 474 | | |
456 | 475 | | |
457 | 476 | | |
458 | | - | |
| 477 | + | |
459 | 478 | | |
460 | 479 | | |
461 | 480 | | |
| |||
521 | 540 | | |
522 | 541 | | |
523 | 542 | | |
524 | | - | |
| 543 | + | |
525 | 544 | | |
526 | 545 | | |
527 | 546 | | |
| |||
583 | 602 | | |
584 | 603 | | |
585 | 604 | | |
586 | | - | |
587 | | - | |
588 | 605 | | |
589 | | - | |
| 606 | + | |
590 | 607 | | |
591 | 608 | | |
592 | 609 | | |
| |||
839 | 856 | | |
840 | 857 | | |
841 | 858 | | |
842 | | - | |
843 | | - | |
| 859 | + | |
844 | 860 | | |
845 | 861 | | |
846 | 862 | | |
| |||
1035 | 1051 | | |
1036 | 1052 | | |
1037 | 1053 | | |
1038 | | - | |
1039 | | - | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
1040 | 1058 | | |
1041 | 1059 | | |
1042 | 1060 | | |
| |||
0 commit comments