From f8b12e48bffc2c74d40a67c8af49b5a32c0f25ac Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 19 Mar 2019 10:01:55 -0600 Subject: Remove IOCQE_FLAG_CACHEHIT This cache hint has been removed from the io_uring series, as there's some hesitation to leak this information to userspace. Remove it from the header file and the man page. We can always re-introduce it later, if we get some variant of this included. Signed-off-by: Jens Axboe --- man/io_uring_enter.2 | 6 +----- src/io_uring.h | 5 ----- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2 index 0e6ca61..c8c4eef 100644 --- a/man/io_uring_enter.2 +++ b/man/io_uring_enter.2 @@ -290,11 +290,7 @@ is copied from the field of the same name in the submission queue entry. The primary use case is to store data that the application will need to access upon completion of this particular I/O. The .I flags -bit mask may contain 0 or more of the following values, ORed together: -.TP -.BR IOCQE_FLAG_CACHEHIT -The page(s) associated with the buffered I/O operation were present in -the page cache. +is reserved for future use. .I res is the operation-specific result. .PP diff --git a/src/io_uring.h b/src/io_uring.h index 24906e9..e234086 100644 --- a/src/io_uring.h +++ b/src/io_uring.h @@ -69,11 +69,6 @@ struct io_uring_cqe { __u32 flags; }; -/* - * io_uring_event->flags - */ -#define IOCQE_FLAG_CACHEHIT (1U << 0) /* IO did not hit media */ - /* * Magic offsets for the application to mmap the data it needs */ -- cgit