Commit 2c377d8a authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: fix btree_key_cache sysfs knob

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 52df04f0
...@@ -461,7 +461,7 @@ STORE(bch2_fs) ...@@ -461,7 +461,7 @@ STORE(bch2_fs)
sc.gfp_mask = GFP_KERNEL; sc.gfp_mask = GFP_KERNEL;
sc.nr_to_scan = strtoul_or_return(buf); sc.nr_to_scan = strtoul_or_return(buf);
c->btree_key_cache.shrink->scan_objects(c->btree_cache.shrink, &sc); c->btree_key_cache.shrink->scan_objects(c->btree_key_cache.shrink, &sc);
} }
if (attr == &sysfs_trigger_gc) if (attr == &sysfs_trigger_gc)
......
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