]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add IORING_OP_FADVISE
authorJens Axboe <axboe@kernel.dk>
Thu, 26 Dec 2019 05:03:45 +0000 (22:03 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Jan 2020 00:04:01 +0000 (17:04 -0700)
commit0b9b9d67700c547724db6b44dfa14f8eaa2a9e60
tree1b6d5a0beff075c67781f1da081ddfbdad3e3b5a
parent8b70e8a93bd1875cddf4309ed3fe1fb9f322e1e1
io_uring: add IORING_OP_FADVISE

This adds support for doing fadvise through io_uring. We assume that
WILLNEED doesn't block, but that DONTNEED may block.

Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/uapi/linux/io_uring.h