Commit 1bacd26
committed
io_uring: mark reissue requests with REQ_F_PARTIAL_IO
If we mark for reissue, we assume that the buffer will remain stable.
Hence if are using a provided buffer, we need to ensure that we stick
with it for the duration of that request.
This only affects block devices that use provided buffers, as those are
the only ones that get marked with REQ_F_REISSUE.
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 6436c77 commit 1bacd26
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3437 | 3437 | | |
3438 | 3438 | | |
3439 | 3439 | | |
3440 | | - | |
| 3440 | + | |
3441 | 3441 | | |
3442 | 3442 | | |
3443 | 3443 | | |
| |||
3487 | 3487 | | |
3488 | 3488 | | |
3489 | 3489 | | |
3490 | | - | |
| 3490 | + | |
3491 | 3491 | | |
3492 | 3492 | | |
3493 | 3493 | | |
| |||
0 commit comments