summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-03-19 10:01:55 -0600
committerJens Axboe <axboe@kernel.dk>2019-03-19 10:01:55 -0600
commitf8b12e48bffc2c74d40a67c8af49b5a32c0f25ac (patch)
treea6735e97a1c9e3e10b7fb6267f45177d80bd72a7
parenta86522197d041b889519d6744d52477e80acce1e (diff)
downloadliburing-f8b12e48bffc2c74d40a67c8af49b5a32c0f25ac.tar.gz
liburing-f8b12e48bffc2c74d40a67c8af49b5a32c0f25ac.tar.bz2
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 <axboe@kernel.dk>
-rw-r--r--man/io_uring_enter.26
-rw-r--r--src/io_uring.h5
2 files changed, 1 insertions, 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
@@ -70,11 +70,6 @@ struct io_uring_cqe {
};
/*
- * 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
*/
#define IORING_OFF_SQ_RING 0ULL