iomap: support RWF_UNCACHED for buffered writes no-cache-io
authorJens Axboe <axboe@kernel.dk>
Fri, 6 Dec 2019 22:26:40 +0000 (15:26 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Dec 2019 03:57:50 +0000 (20:57 -0700)
commite76f133345f676e9bcc052bacb426b1e58180854
tree57d9afc599b23af4a0dd01e070870b8aa01b9820
parent9c0d22bb5af5cafc9b0e63f7a35a32eb26e1d846
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/fs.h
include/linux/iomap.h
mm/filemap.c