mm: 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>
Fri, 8 Nov 2024 16:18:13 +0000 (09:18 -0700)
commit24c5013c722e18837a1afa599ad885587a75df16
tree915eb168b66b51e45d0fc54bdaf5a5c3c7450ec5
parent4e7ef48d72f1314d8746c3760b82e54c7e27a885
mm: 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