ioucmd->cmd=req->async_data; return0; } Expand DownExpand Up@@ -129,9 +130,6 @@ int io_uring_cmd(struct io_kiocb *req, unsigned int issue_flags) WRITE_ONCE(ioucmd->cookie,NULL); } if(req_has_async_data(req)) ioucmd->cmd=req->async_data; ...
io_uring: Change res2 parameter type in io_uring_cmd_done Browse files Change the type of the res2 parameter in io_uring_cmd_done from ssize_t to u64. This aligns the parameter type with io_req_set_cqe32_extra, which expects u64 arguments. The change eliminates potential issues on...
kdave closed this as completed by moving to Done in Kernel patches Nov 7, 2024 Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Assignees No one assigned Labels for-next Projects Kernel patches Status: Done +2 more Milestone No mile...
enum io_uring_cmd_flags { IO_URING_F_COMPLETE_DEFER = 1, IO_URING_F_UNLOCKED = 2, /* the request is executed from poll, it should not be freed */ IO_URING_F_MULTISHOT = 4, /* executed by io-wq */ IO_URING_F_IOWQ = 8, /* int's last bit, sign checks are usually fast...
static void btrfs_uring_read_finished(struct io_uring_cmd *cmd, unsigned int issue_flags) { struct btrfs_uring_priv *priv = *io_uring_cmd_to_pdu(cmd, struct btrfs_uring_priv *); struct io_btrfs_cmd *bc = io_uring_cmd_to_pdu(cmd, struct io_btrfs_cmd);...