mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
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]>
This commit is contained in:
committed by
Damien Le Moal
parent
83a7eefedc
commit
df2f9708ff
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user