Commit c8fb20b
io_uring: remove req cancel in ->flush()
Every close(io_uring) causes cancellation of all inflight requests
carrying ->files. That's not nice but was neccessary up until recently.
Now task->files removal is handled in the core code, so that part of
flush can be removed.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 43c01fb commit c8fb20b
1 file changed
Lines changed: 5 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8684 | 8684 | | |
8685 | 8685 | | |
8686 | 8686 | | |
8687 | | - | |
8688 | | - | |
8689 | | - | |
8690 | | - | |
8691 | | - | |
8692 | | - | |
8693 | | - | |
8694 | | - | |
8695 | 8687 | | |
8696 | 8688 | | |
8697 | 8689 | | |
8698 | 8690 | | |
8699 | | - | |
| 8691 | + | |
8700 | 8692 | | |
8701 | 8693 | | |
8702 | 8694 | | |
8703 | 8695 | | |
8704 | 8696 | | |
8705 | 8697 | | |
8706 | 8698 | | |
8707 | | - | |
8708 | | - | |
8709 | | - | |
8710 | | - | |
| 8699 | + | |
| 8700 | + | |
| 8701 | + | |
8711 | 8702 | | |
8712 | 8703 | | |
8713 | 8704 | | |
| |||
8765 | 8756 | | |
8766 | 8757 | | |
8767 | 8758 | | |
8768 | | - | |
8769 | | - | |
8770 | | - | |
8771 | | - | |
8772 | | - | |
8773 | | - | |
8774 | | - | |
8775 | | - | |
8776 | | - | |
8777 | | - | |
| 8759 | + | |
8778 | 8760 | | |
8779 | 8761 | | |
8780 | 8762 | | |
| |||
0 commit comments