mm/filemap: drop streaming/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, 20 Dec 2024 15:30:39 +0000 (08:30 -0700)
commit987f4fe6d3565eb5cfb6a22d8bb045299d69451c
tree321c43597977b194d8ee2fc893748461507f7a54
parent09c43b97e34a80073b6827545bc6ed4020992bc3
mm/filemap: drop streaming/uncached pages when writeback completes

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

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