iomap: support RWF_UNCACHED for buffered writes
authorJens Axboe <axboe@kernel.dk>
Fri, 6 Dec 2019 22:26:40 +0000 (15:26 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 31 Jan 2020 22:44:07 +0000 (15:44 -0700)
commit2d02caea1a1b4382ee712ab2777c132dd5a10a59
tree09bdadf320280c8eed9c8baa328de54c4e50289f
parenta24ec005a6111af4ed8d600b6605dba66fced357
iomap: support RWF_UNCACHED for buffered writes

This adds support for RWF_UNCACHED for file systems using iomap to
perform buffered writes. We use the generic infrastructure for this,
by tracking pages we created and calling write_drop_cached_pages()
to issue writeback and prune those pages.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/iomap/apply.c
fs/iomap/buffered-io.c
fs/iomap/trace.h
include/linux/iomap.h