]> Git Repo - J-linux.git/commitdiff
zonefs: enable support for large folios
authorJohannes Thumshirn <[email protected]>
Mon, 13 May 2024 22:37:18 +0000 (00:37 +0200)
committerDamien Le Moal <[email protected]>
Tue, 11 Jun 2024 02:22:57 +0000 (11:22 +0900)
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]>
fs/zonefs/super.c

index 964fa7f2400335dc8eb9456c3190aa36f2c0c8ec..faf1eb87895d0e0d4fde2fc65ce6d3dfb80bbca3 100644 (file)
@@ -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);
This page took 0.04913 seconds and 4 git commands to generate.