projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34fdcf0
)
bcachefs: Enable large folios
author
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 19 Mar 2023 20:47:30 +0000
(16:47 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:59 +0000
(17:09 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/bcachefs/fs.c
b/fs/bcachefs/fs.c
index 58a89c36cf0ecb9b55af6fdf8cda061bab61b242..99082820e30b2e78bf816bde557f72c3bb0ac7c1 100644
(file)
--- 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)