commit | bd75904590de1c2bbdff55180cef209b13bd50fa | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Fri Feb 12 03:23:50 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Feb 12 05:30:25 2021 -0700 |
tree | e3975157a45022f98d3a5a30f97d728fa6853ea1 | |
parent | 2f8e45f16c57360dd4d8b1310c2952a29a8fa890 [diff] |
io_uring: take compl state from submit state Completion and submission states are now coupled together, it's weird to get one from argument and another from ctx, do it consistently for io_req_free_batch(). It's also faster as we already have @state cached in registers. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>