From df2f9708ff1f23afdf6804bb16199e1903550582 Mon Sep 17 00:00:00 2001 From: Johannes Thumshirn Date: Tue, 14 May 2024 00:37:18 +0200 Subject: [PATCH] zonefs: enable support for large folios Enable large folio support on zonefs. Cc: Matthew Wilcox Cc: Damien Le Moal Signed-off-by: Johannes Thumshirn Reviewed-by: Bill O'Donnell Signed-off-by: Damien Le Moal --- fs/zonefs/super.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c index 964fa7f24003..faf1eb87895d 100644 --- a/fs/zonefs/super.c +++ b/fs/zonefs/super.c @@ -662,6 +662,7 @@ static struct inode *zonefs_get_file_inode(struct inode *dir, inode->i_op = &zonefs_file_inode_operations; inode->i_fop = &zonefs_file_operations; inode->i_mapping->a_ops = &zonefs_file_aops; + mapping_set_large_folios(inode->i_mapping); /* Update the inode access rights depending on the zone condition */ zonefs_inode_update_mode(inode);