UPSTREAM: 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. Bug: 416315033 (cherry picked from commit fb7d3bc4) Link: https://lkml.kernel.org/r/20241220154831.1086649-10-axboe@kernel.dk Change-Id: Idd23bd33b22523aa7429133a8cc20b4e9604ad5f Signed-off-by:Jens Axboe <axboe@kernel.dk> Cc: Brian Foster <bfoster@redhat.com> Cc: Chris Mason <clm@meta.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Akilesh Kailash <akailash@google.com>
Loading
Please sign in to comment