]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/io_uring.c
io_uring: split file table from rsrc nodes
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 11 Apr 2021 00:46:37 +0000 (01:46 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Apr 2021 15:33:01 +0000 (09:33 -0600)
commitaeca241b0bdd831ad5706605f5e09b44fe940220
tree350a05b5df10def61509f82cd595117e7bee6b23
parent87094465d01a248cd888b81da0e6bc10324d4dc0
io_uring: split file table from rsrc nodes

We don't need to store file tables in rsrc nodes, for now it's easier to
handle tables not generically, so move file tables into the context. A
nice side effect is having one less pointer dereference for request with
fixed file initialisation.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/de9fc4cd3545f24c26c03be4556f58ba3d18b9c3.1618101759.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c