diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2023-04-11 14:06:05 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-04-12 21:09:41 +0300 |
commit | 528407b1e0ea51260fff2cc8b669c632a65d7a09 (patch) | |
tree | fc71826287bad3c13e9e8408582f5113d331535f /include/linux/io_uring_types.h | |
parent | 786788a8cfe03056e9c7b1c6e418c1db92a0ce80 (diff) | |
download | linux-528407b1e0ea51260fff2cc8b669c632a65d7a09.tar.xz |
io_uring/rsrc: consolidate node caching
We store one pre-allocated rsrc node in ->rsrc_backup_node, merge it
with ->rsrc_node_cache.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/6d5410e51ccd29be7a716be045b51d6b371baef6.1681210788.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/io_uring_types.h')
-rw-r--r-- | include/linux/io_uring_types.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/io_uring_types.h b/include/linux/io_uring_types.h index fa621a508a01..40cab420b1bd 100644 --- a/include/linux/io_uring_types.h +++ b/include/linux/io_uring_types.h @@ -326,7 +326,6 @@ struct io_ring_ctx { struct io_restriction restrictions; /* slow path rsrc auxilary data, used by update/register */ - struct io_rsrc_node *rsrc_backup_node; struct io_mapped_ubuf *dummy_ubuf; struct io_rsrc_data *file_data; struct io_rsrc_data *buf_data; |