Skip to content

Commit 9ac3e66

Browse files
author
Kent Overstreet
committed
bcachefs: set sb->s_shrinker->seeks = 0
inodes and dentries are still present in the btree node cache, in much more compact form Signed-off-by: Kent Overstreet <[email protected]>
1 parent bc65e98 commit 9ac3e66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/bcachefs/fs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1967,6 +1967,7 @@ static struct dentry *bch2_mount(struct file_system_type *fs_type,
19671967
sb->s_time_min = div_s64(S64_MIN, c->sb.time_units_per_sec) + 1;
19681968
sb->s_time_max = div_s64(S64_MAX, c->sb.time_units_per_sec);
19691969
sb->s_uuid = c->sb.user_uuid;
1970+
sb->s_shrink->seeks = 0;
19701971
c->vfs_sb = sb;
19711972
strscpy(sb->s_id, c->name, sizeof(sb->s_id));
19721973

0 commit comments

Comments
 (0)