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>
Sun, 29 Dec 2019 16:04:57 +0000 (09:04 -0700)
commit9df5306528ed55f107185a9c408e2c4b67d60958
treea39f18eaa984096c74234898ce8f3b3336958b1b
parent3e1289d9fd233e72d94215aa001681ff6227b236
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.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/uapi/linux/io_uring.h