diff options
| author | Pavel Begunkov <[email protected]> | 2023-04-11 12:06:05 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-04-12 12:09:41 -0600 |
| commit | 528407b1e0ea51260fff2cc8b669c632a65d7a09 (patch) | |
| tree | fc71826287bad3c13e9e8408582f5113d331535f /include/linux | |
| parent | 786788a8cfe03056e9c7b1c6e418c1db92a0ce80 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/6d5410e51ccd29be7a716be045b51d6b371baef6.1681210788.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux')
| -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; |