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)
commit4840e418c2fc533d55ff6caa5b9313eed1d26cfd
tree1b6d5a0beff075c67781f1da081ddfbdad3e3b5a
parentba04291eb66ed895f194ae5abd3748d72bf8aaea
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