Files
linux/fs
Jens Axboe d625c6ee49 io_uring: read opcode and user_data from SQE exactly once
If we defer a request, we can't be reading the opcode again. Ensure that
the user_data and opcode fields are stable. For the user_data we already
have a place for it, for the opcode we can fill a one byte hold and store
that as well. For both of them, assign them when we originally read the
SQE in io_get_sqring(). Any code that uses sqe->opcode or sqe->user_data
is switched to req->opcode and req->user_data.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-12-17 19:57:27 -07:00
..
2019-12-09 10:36:44 -08:00
2019-11-11 09:21:59 -05:00
2019-11-18 11:04:32 +01:00
2019-12-04 19:44:11 -08:00
2019-12-09 10:36:44 -08:00
2019-08-07 21:51:47 -04:00
2019-10-25 14:08:24 -04:00
2019-10-14 15:04:01 -07:00