]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit08ff826e591d14b2334e17f29f5250413fb849f8
tree350a05b5df10def61509f82cd595117e7bee6b23
parent0a36ba6b1d4f043d8e38df331c87b75a7fbed273
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