io_uring: add generic rsrc update with tags
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 25 Apr 2021 13:32:22 +0000 (14:32 +0100)
committerJens Axboe <axboe@kernel.dk>
Sun, 25 Apr 2021 16:14:04 +0000 (10:14 -0600)
commitc3bdad0271834214be01c1d687c262bf80da6eb0
tree4370ef0a9912433d03d620f69abe1a624339ffa3
parent792e35824be9af9fb4dac956229fb97bda04e25e
io_uring: add generic rsrc update with tags

Add IORING_REGISTER_RSRC_UPDATE, which also supports passing in rsrc
tags. Implement it for registered files.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/d4dc66df204212f64835ffca2c4eb5e8363f2f05.1619356238.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/uapi/linux/io_uring.h