commit | 4fccfcbb733794634d4e873e7973c1847beca5bf | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Fri Feb 12 11:55:17 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Feb 12 05:30:36 2021 -0700 |
tree | af9bea981815671fcfb0511ab7df474631460e9c | |
parent | 04fc6c802dfacba800f5a5d00bea0ebfcc60f840 [diff] |
io_uring: don't split out consume out of SQE get Remove io_consume_sqe() and inline it back into io_get_sqe(). It requires req dealloc on error, but in exchange we get cleaner io_submit_sqes() and better locality for cached_sq_head. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>