diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-05-25 05:28:33 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-25 02:39:11 +0200 |
commit | f4c163dd7d4b1031772317cd3cd58dd6711ee51e (patch) | |
tree | 68eb0282a59338b40ac1a0fc801d1a1cf87585c2 /io_uring/advise.h | |
parent | io_uring: split out fs related sync/fallocate functions (diff) | |
download | linux-f4c163dd7d4b1031772317cd3cd58dd6711ee51e.tar.xz linux-f4c163dd7d4b1031772317cd3cd58dd6711ee51e.zip |
io_uring: split out fadvise/madvise operations
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/advise.h')
-rw-r--r-- | io_uring/advise.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/io_uring/advise.h b/io_uring/advise.h new file mode 100644 index 000000000000..5ece2a045185 --- /dev/null +++ b/io_uring/advise.h @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 + +int io_madvise_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_madvise(struct io_kiocb *req, unsigned int issue_flags); + +int io_fadvise_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_fadvise(struct io_kiocb *req, unsigned int issue_flags); |