aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2025-04-04 14:46:34 +0000
committerJens Axboe <[email protected]>2025-04-04 15:40:44 +0000
commitab6005f3912fff07330297aba08922d2456dcede (patch)
tree5319b37842e8ea5bb68c04cfacc0602273968fcb /rust/helpers/helpers.c
parentMerge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs (diff)
downloadkernel-ab6005f3912fff07330297aba08922d2456dcede.tar.gz
kernel-ab6005f3912fff07330297aba08922d2456dcede.zip
io_uring: don't post tag CQEs on file/buffer registration failure
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: [email protected] Signed-off-by: Pavel Begunkov <[email protected]> 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 <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions