diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-03-19 16:47:30 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:59 -0400 |
commit | 550a6a496d33034878172ed789e03feaee6cee43 (patch) | |
tree | cfb084c4d0827057d0065ea64c6ebc1ca593d427 /fs/bcachefs/fs.c | |
parent | 34fdcf0632a5e549c5bfed1847a6d6995606ec17 (diff) | |
download | linux-550a6a496d33034878172ed789e03feaee6cee43.tar.gz linux-550a6a496d33034878172ed789e03feaee6cee43.tar.bz2 linux-550a6a496d33034878172ed789e03feaee6cee43.zip |
bcachefs: Enable large folios
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fs.c')
-rw-r--r-- | fs/bcachefs/fs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c index 58a89c36cf0e..99082820e30b 100644 --- a/fs/bcachefs/fs.c +++ b/fs/bcachefs/fs.c @@ -1369,6 +1369,8 @@ static void bch2_vfs_inode_init(struct btree_trans *trans, subvol_inum inum, inode->v.i_op = &bch_special_inode_operations; break; } + + mapping_set_large_folios(inode->v.i_mapping); } static struct inode *bch2_alloc_inode(struct super_block *sb) |