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>
Wed, 15 Jan 2020 22:05:01 +0000 (15:05 -0700)
commit12104a579ec21794f5695ca8ab456304e666ae24
tree3ebb854acb7b1f55ab809f802116df5a783ce1fb
parent22e0e1611f2ff024b831d64d4f7a0d0c7b27bc4b
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