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>
Thu, 14 Nov 2024 14:15:05 +0000 (07:15 -0700)
commit3e955836fd8cb769118f47d6fcd96ea02b52cfa2
tree97d35c96eefaddce7e5c47fa26d3ad159e80fe22
parent5f1b69d1d55005af3c77814c885e48691d45c899
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