io_uring/cmd: introduce IORING_URING_CMD_REISSUE flag
authorCaleb Sander Mateos <csander@purestorage.com>
Tue, 8 Jul 2025 20:22:10 +0000 (14:22 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Jul 2025 18:34:56 +0000 (12:34 -0600)
commit733c43f1df34f9185b945e6f12ac00c8556c6dfe
tree11afa9a11d1a0cef38d61c08dde9247d9ddb3a8e
parent262ab205180d2ba3ab6110899a4dbe439c51dfaa
io_uring/cmd: introduce IORING_URING_CMD_REISSUE flag

Add a flag IORING_URING_CMD_REISSUE that ->uring_cmd() implementations
can use to tell whether this is the first or subsequent issue of the
uring_cmd. This will allow ->uring_cmd() implementations to store
information in the io_uring_cmd's pdu across issues.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Acked-by: David Sterba <dsterba@suse.com>
Link: https://lore.kernel.org/r/20250708202212.2851548-3-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring/cmd.h
io_uring/uring_cmd.c