From: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx>Reviewed-by: Hannes Reinecke <hare@xxxxxxx>
Some filesystems want to be able to ensure that folios that are added to
the page cache are at least a certain size.
Add mapping_set_folio_min_order() to allow this level of control.
Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
Co-developed-by: Pankaj Raghav <p.raghav@xxxxxxxxxxx>
Signed-off-by: Pankaj Raghav <p.raghav@xxxxxxxxxxx>
Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>
---
include/linux/pagemap.h | 100 ++++++++++++++++++++++++++++++++--------
1 file changed, 80 insertions(+), 20 deletions(-)