mirror of
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9.git
synced 2026-09-09 00:08:12 +08:00
JIRA: https://issues.redhat.com/browse/RHEL-105612 Conflicts: RHEL is lacking commit 5eff57fa9f3aa ("io_uring/uring_cmd: defer SQE copying until it's needed"), so one hunk is elided in this backport. commit dadf03cfd4eaa09f1d0e8b2521de1e11d3e3bec1 Author: Jens Axboe <axboe@kernel.dk> Date: Fri Jan 3 15:02:23 2025 +0000 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> Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
8 lines
294 B
C
8 lines
294 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
int io_uring_cmd(struct io_kiocb *req, unsigned int issue_flags);
|
|
int io_uring_cmd_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
|
|
|
bool io_uring_try_cancel_uring_cmd(struct io_ring_ctx *ctx,
|
|
struct io_uring_task *tctx, bool cancel_all);
|