mm/filemap: drop uncached pages when writeback completes
authorJens Axboe <axboe@kernel.dk>
Wed, 6 Nov 2024 16:55:22 +0000 (09:55 -0700)
committerJens Axboe <axboe@kernel.dk>
Sun, 1 Dec 2024 22:55:24 +0000 (15:55 -0700)
commit2c2ed0a2deef6e930a8acf1117538404ec156d04
tree782d7ce19e2abe7db1d3d2f205a46ae8969e431c
parentfc9073dee8be48853a277ae8bf596f35ff94ade5
mm/filemap: drop uncached pages when writeback completes

If the folio is marked as uncached, drop pages when writeback completes.
Intended to be used with RWF_UNCACHED, to avoid needing sync writes for
uncached IO.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
mm/filemap.c