Commit 9ac3e660 authored by Kent Overstreet's avatar Kent Overstreet

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: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent bc65e98e
...@@ -1967,6 +1967,7 @@ static struct dentry *bch2_mount(struct file_system_type *fs_type, ...@@ -1967,6 +1967,7 @@ static struct dentry *bch2_mount(struct file_system_type *fs_type,
sb->s_time_min = div_s64(S64_MIN, c->sb.time_units_per_sec) + 1; sb->s_time_min = div_s64(S64_MIN, c->sb.time_units_per_sec) + 1;
sb->s_time_max = div_s64(S64_MAX, c->sb.time_units_per_sec); sb->s_time_max = div_s64(S64_MAX, c->sb.time_units_per_sec);
sb->s_uuid = c->sb.user_uuid; sb->s_uuid = c->sb.user_uuid;
sb->s_shrink->seeks = 0;
c->vfs_sb = sb; c->vfs_sb = sb;
strscpy(sb->s_id, c->name, sizeof(sb->s_id)); strscpy(sb->s_id, c->name, sizeof(sb->s_id));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment