diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2025-04-04 17:46:34 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-25 11:51:18 +0300 |
commit | 6eeeb08a04742c22aa93f59d7673afac27dad13d (patch) | |
tree | 020be234b64c7cabe0f052c8e38757367aeaab92 /scripts/gdb/linux/utils.py | |
parent | 4c084077882e7a6bb1abb3a3225cb46f62a4a186 (diff) | |
download | linux-6eeeb08a04742c22aa93f59d7673afac27dad13d.tar.xz |
io_uring: don't post tag CQEs on file/buffer registration failure
Commit ab6005f3912fff07330297aba08922d2456dcede upstream.
Buffer / file table registration is all or nothing, if it fails all
resources we might have partially registered are dropped and the table
is killed. If that happens, it doesn't make sense to post any rsrc tag
CQEs. That would be confusing to the application, which should not need
to handle that case.
Cc: stable@vger.kernel.org
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Fixes: 7029acd8a9503 ("io_uring/rsrc: get rid of per-ring io_rsrc_node list")
Link: https://lore.kernel.org/r/c514446a8dcb0197cddd5d4ba8f6511da081cf1f.1743777957.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions