aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2025-05-23 09:04:46 +0000
committerJens Axboe <[email protected]>2025-05-23 12:31:06 +0000
commit6faaf6e0faf1cc9a1359cfe6ecb4d9711b4a9f29 (patch)
tree338ef0c4a1caf597f3c606644ee5862e1d8c1f71 /rust/helpers
parentio_uring/io-wq: only create a new worker if it can make progress (diff)
downloadkernel-6faaf6e0faf1cc9a1359cfe6ecb4d9711b4a9f29.tar.gz
kernel-6faaf6e0faf1cc9a1359cfe6ecb4d9711b4a9f29.zip
io_uring/cmd: warn on reg buf imports by ineligible cmds
For IORING_URING_CMD_FIXED-less commands io_uring doesn't pull buf_index from the sqe, so imports might succeed if the index coincide, e.g. when it's 0, but otherwise it's error prone. Warn if someone tries to import without the flag. Signed-off-by: Pavel Begunkov <[email protected]> Reviewed-by: Anuj Gupta <[email protected]> Link: https://lore.kernel.org/r/a1c2c88e53c3fe96978f23d50c6bc66c2c79c337.1747991070.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions