Re: 6.10/regression/bisected - after f1d97e769152 I spotted increased execution time of the kswapd0 process and symptoms as if there is not enough memory
From: Andrea Gelmini
Date: Fri Aug 16 2024 - 02:43:13 EST
Il giorno ven 16 ago 2024 alle ore 01:17 <intelfx@xxxxxxxxxxxx> ha scritto:
> Can we please have it reverted on the basis of this severe regression,
> until a better solution is found?
To disable the shrinker I simply remove two items:
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index f05cce7c8b8d..4f958ba61e0e 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -2410,8 +2410,6 @@ static const struct super_operations btrfs_super_ops = {
.statfs = btrfs_statfs,
.freeze_fs = btrfs_freeze,
.unfreeze_fs = btrfs_unfreeze,
- .nr_cached_objects = btrfs_nr_cached_objects,
- .free_cached_objects = btrfs_free_cached_objects,
};
static const struct file_operations btrfs_ctl_fops = {
This is from my thread with Filipe about same topic you can find in
the mailing list archive.
Ciao,
Gelma