]> www.infradead.org Git - users/willy/pagecache.git/commit
mm/readahead: add readahead_control->dropbehind member
authorJens Axboe <axboe@kernel.dk>
Fri, 20 Dec 2024 15:47:43 +0000 (08:47 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 26 Jan 2025 04:22:43 +0000 (20:22 -0800)
commit77d075221ae777296e2b18a0a4f5fea6f75daf2c
treefd6f1ba98dfd60f79f3d2b2de5ea45367ff75edf
parentcceba6f7e46c48deca433030d80fc34599fb9fd8
mm/readahead: add readahead_control->dropbehind member

If ractl->dropbehind is set to true, then folios created are marked as
dropbehind as well.

Link: https://lkml.kernel.org/r/20241220154831.1086649-6-axboe@kernel.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Kirill 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: Andrew Morton <akpm@linux-foundation.org>
include/linux/pagemap.h
mm/readahead.c