Commit 54775f6b authored by Jens Axboe's avatar Jens Axboe Committed by Akilesh Kailash
Browse files

UPSTREAM: mm: add PG_dropbehind folio flag

Add a folio flag that file IO can use to indicate that the cached IO being
done should be dropped from the page cache upon completion.

Bug: 416315033
(cherry picked from commit cceba6f7)
Link: https://lkml.kernel.org/r/20241220154831.1086649-5-axboe@kernel.dk


Change-Id: Ib4f204aacdd27dac4c9f8f8d4f24584bc7777da5
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Reviewed-by: default avatarKirill A. Shutemov <kirill.shutemov@linux.intel.com>
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: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarAkilesh Kailash <akailash@google.com>
parent 43cabbea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment