Skip to content

Commit df2f970

Browse files
morbidrsadamien-lemoal
authored andcommitted
zonefs: enable support for large folios
Enable large folio support on zonefs. Cc: Matthew Wilcox <[email protected]> Cc: Damien Le Moal <[email protected]> Signed-off-by: Johannes Thumshirn <[email protected]> Reviewed-by: Bill O'Donnell <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
1 parent 83a7eef commit df2f970

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/zonefs/super.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@ static struct inode *zonefs_get_file_inode(struct inode *dir,
662662
inode->i_op = &zonefs_file_inode_operations;
663663
inode->i_fop = &zonefs_file_operations;
664664
inode->i_mapping->a_ops = &zonefs_file_aops;
665+
mapping_set_large_folios(inode->i_mapping);
665666

666667
/* Update the inode access rights depending on the zone condition */
667668
zonefs_inode_update_mode(inode);

0 commit comments

Comments
 (0)