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>
This commit is contained in:
Jens Axboe
2019-03-19 10:01:55 -06:00
parent a86522197d
commit f8b12e48bf
2 changed files with 1 additions and 10 deletions

View File

@@ -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 entry. The primary use case is to store data that the application
will need to access upon completion of this particular I/O. The will need to access upon completion of this particular I/O. The
.I flags .I flags
bit mask may contain 0 or more of the following values, ORed together: is reserved for future use.
.TP
.BR IOCQE_FLAG_CACHEHIT
The page(s) associated with the buffered I/O operation were present in
the page cache.
.I res .I res
is the operation-specific result. is the operation-specific result.
.PP .PP

View File

@@ -69,11 +69,6 @@ struct io_uring_cqe {
__u32 flags; __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 * Magic offsets for the application to mmap the data it needs
*/ */