]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: remove IORING_CQE_F_MSG
authorJens Axboe <axboe@kernel.dk>
Thu, 24 Mar 2022 12:53:18 +0000 (06:53 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 24 Mar 2022 12:53:18 +0000 (06:53 -0600)
commit0c21afda543da3018c0c3e4386c10a60b584b06c
tree5348c65a930ae46d84d86ea59fd278997d714efe
parentb46abd53d9000fb354bb04d4a47b1e445fbb907d
io_uring: remove IORING_CQE_F_MSG

This was introduced with the message ring opcode, but isn't strictly
required for the request itself. The sender can encode what is needed
in user_data, which is passed to the receiver. It's unclear if having
a separate flag that essentially says "This CQE did not originate from
an SQE on this ring" provides any real utility to applications. While
we can always re-introduce a flag to provide this information, we cannot
take it away at a later point in time.

Remove the flag while we still can, before it's in a released kernel.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/uapi/linux/io_uring.h