]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite21cc2a5768676957a6e7f3431f86279f70e56d9
tree4370ef0a9912433d03d620f69abe1a624339ffa3
parenta6dcf8e3cecf95deb845a81896354af2477fd1a0
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