]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add fully sparse buffer registration
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 18 May 2022 18:13:49 +0000 (19:13 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 18 May 2022 18:53:04 +0000 (12:53 -0600)
commit0184f08e65348f39aa4e8a71927e4538515f4ac0
treeee6c418e03096133aa5f545291314ec35e196ef4
parent0bf1dbee9baf3e78bff297245178f8c9a8ef8670
io_uring: add fully sparse buffer registration

Honour IORING_RSRC_REGISTER_SPARSE not only for direct files but fixed
buffers as well. It makes the rsrc API more consistent.

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