io_uring: add support for RWF_UNCACHED
authorJens Axboe <axboe@kernel.dk>
Fri, 6 Dec 2019 15:35:28 +0000 (08:35 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 6 Dec 2019 15:36:38 +0000 (08:36 -0700)
commit4a87b5840d35584fd872571d37c69d7544b1b00f
treeaefa8c8dd3ebcce8a2c5ed6052f29c325315e732
parentbef74db41fb5a1607fd55cb86544165fc08acac1
io_uring: add support for RWF_UNCACHED

If this is set, and the kernel supports it, buffered IO will be
uncached. This means that reads are dropped from the cache if we
are the ones instantiating the pages, and writes are sync and
dropped from the page cache on IO completion.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/io_uring.c
os/os-linux.h