diff options
author | Jens Axboe <axboe@kernel.dk> | 2025-01-03 15:02:23 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-01-06 13:51:05 +0100 |
commit | dadf03cfd4eaa09f1d0e8b2521de1e11d3e3bec1 (patch) | |
tree | 6ad6c3fa95bc7667460a2f6a4d7c5dada3d0bc06 /io_uring/opdef.c | |
parent | fca432e73db2bec0fdbfbf6d98d3ebcd5388a977 (diff) |
io_uring/cmd: rename struct uring_cache to io_uring_cmd_data
In preparation for making this more generically available for
->uring_cmd() usage that needs stable command data, rename it and move
it to io_uring/cmd.h instead.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'io_uring/opdef.c')
-rw-r--r-- | io_uring/opdef.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/io_uring/opdef.c b/io_uring/opdef.c index a2be3bbca5ff..c7746f67cc65 100644 --- a/io_uring/opdef.c +++ b/io_uring/opdef.c @@ -7,6 +7,7 @@ #include <linux/fs.h> #include <linux/file.h> #include <linux/io_uring.h> +#include <linux/io_uring/cmd.h> #include "io_uring.h" #include "opdef.h" @@ -414,7 +415,7 @@ const struct io_issue_def io_issue_defs[] = { .plug = 1, .iopoll = 1, .iopoll_queue = 1, - .async_size = 2 * sizeof(struct io_uring_sqe), + .async_size = sizeof(struct io_uring_cmd_data), .prep = io_uring_cmd_prep, .issue = io_uring_cmd, }, |