Commit 73572984 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: move rsrc related data, core, and commands



Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 3b77495a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7,5 +7,5 @@ obj-$(CONFIG_IO_URING) += io_uring.o xattr.o nop.o fs.o splice.o \
					openclose.o uring_cmd.o epoll.o \
					statx.o net.o msg_ring.o timeout.o \
					sqpoll.o fdinfo.o tctx.o poll.o \
					cancel.o kbuf.o
					cancel.o kbuf.o rsrc.o
obj-$(CONFIG_IO_WQ)		+= io-wq.o
+117 −1527

File changed.

Preview size limit exceeded, changes collapsed.

+1 −5
Original line number Diff line number Diff line
@@ -92,6 +92,7 @@ static inline bool io_run_task_work(void)
	return false;
}

int io_run_task_work_sig(void);
void io_req_complete_failed(struct io_kiocb *req, s32 res);
void __io_req_complete(struct io_kiocb *req, unsigned issue_flags);
void io_req_complete_post(struct io_kiocb *req);
@@ -110,11 +111,6 @@ int io_fixed_fd_install(struct io_kiocb *req, unsigned int issue_flags,
int io_install_fixed_file(struct io_kiocb *req, struct file *file,
			  unsigned int issue_flags, u32 slot_index);

int io_rsrc_node_switch_start(struct io_ring_ctx *ctx);
int io_queue_rsrc_removal(struct io_rsrc_data *data, unsigned idx,
			  struct io_rsrc_node *node, void *rsrc);
void io_rsrc_node_switch(struct io_ring_ctx *ctx,
			 struct io_rsrc_data *data_to_kill);
bool io_is_uring_fops(struct file *file);
bool io_alloc_async_data(struct io_kiocb *req);
void io_req_task_work_add(struct io_kiocb *req);
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@

#include "io_uring_types.h"
#include "io_uring.h"
#include "rsrc.h"
#include "openclose.h"

struct io_open {

io_uring/rsrc.c

0 → 100644
+1320 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading