summaryrefslogtreecommitdiff
path: root/fs/iomap
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-05-19 16:10:37 -0400
committerMatthew Wilcox (Oracle) <willy@infradead.org>2023-07-24 18:04:30 -0400
commit4f66170119107f1452d2438ba4606e105e9e3afe (patch)
treea73e91753ba11b83ac123911a3e89df18b4f1d6f /fs/iomap
parentffc143db63eeea7c8a27deb3c56d090a220a1ace (diff)
filemap: Allow __filemap_get_folio to allocate large folios
Allow callers of __filemap_get_folio() to specify a preferred folio order in the FGP flags. This is only honoured in the FGP_CREATE path; if there is already a folio in the page cache that covers the index, we will return it, no matter what its order is. No create-around is attempted; we will only create folios which start at the specified index. Unmodified callers will continue to allocate order 0 folios. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/iomap')
0 files changed, 0 insertions, 0 deletions