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:
bc65e98
)
bcachefs: set sb->s_shrinker->seeks = 0
author
Kent Overstreet
<kent.overstreet@linux.dev>
Thu, 6 Jun 2024 23:30:41 +0000
(19:30 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Mon, 10 Jun 2024 17:17:16 +0000
(13:17 -0400)
inodes and dentries are still present in the btree node cache, in much
more compact form
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 cd388f1702dc85a98f2d5b05db518ea66e77243a..f6f1dbc1fe15c53298b67a23091a78af0d411ee1 100644
(file)
--- a/
fs/bcachefs/fs.c
+++ b/
fs/bcachefs/fs.c
@@
-1967,6
+1967,7
@@
got_sb:
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_uuid = c->sb.user_uuid;
+ sb->s_shrink->seeks = 0;
c->vfs_sb = sb;
strscpy(sb->s_id, c->name, sizeof(sb->s_id));