[f2fs-dev] [PATCH 7/7] f2fs: optimize shrink count

2022-06-30 Thread Guowei Du
From: duguowei Remove the local variable 'run_no', add comments for better reading. Signed-off-by: duguowei --- fs/f2fs/shrinker.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/f2fs/shrinker.c b/fs/f2fs/shrinker.c index dd3c3c7a90ec..7e439496dfca 100644 --

[f2fs-dev] [Bug 216050] f2fs_gc occupies 100% cpu

2022-06-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216050 --- Comment #25 from Yuriy Garin (yuriy.ga...@gmail.com) --- Created attachment 301314 --> https://bugzilla.kernel.org/attachment.cgi?id=301314&action=edit f2f blocked problems in dmesg I have this problem 3rd time. Once in a week. There are l

[f2fs-dev] [Bug 216050] f2fs_gc occupies 100% cpu

2022-06-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216050 Yuriy Garin (yuriy.ga...@gmail.com) changed: What|Removed |Added CC||yuriy.ga...@gmail.co

[f2fs-dev] [Bug 216050] f2fs_gc occupies 100% cpu

2022-06-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216050 --- Comment #27 from Jaegeuk Kim (jaeg...@kernel.org) --- Re 23, could you please describe one more time? Was there an f2fs_gc thread running 100%? Re #25, the dmesg is waiting for f2fs_issue_checkpoint, which is not GC. Do you think it's hung by

[f2fs-dev] [Bug 216050] f2fs_gc occupies 100% cpu

2022-06-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216050 --- Comment #28 from Guido (guido.iod...@gmail.com) --- (In reply to Jaegeuk Kim from comment #27) > Re 23, could you please describe one more time? Was there an f2fs_gc thread > running 100%? yes, one thread occupying 100% -- You may reply to

Re: [f2fs-dev] [PATCH 7/7] f2fs: optimize shrink count

2022-06-30 Thread Chao Yu
On 2022/6/30 19:26, Guowei Du wrote: From: duguowei Remove the local variable 'run_no', add comments for better reading. Not sure, I guess original implementation considers the race condition for f2fs_shrink_scan vs f2fs_shrink_scan case? so it uses a local variable to keep the per-round cont

[f2fs-dev] [Bug 216050] f2fs_gc occupies 100% cpu

2022-06-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216050 --- Comment #29 from Chao Yu (c...@kernel.org) --- >From 8a351359b0834f048dc35b5f53276c14a35e4ff9 Mon Sep 17 00:00:00 2001 From: Chao Yu Date: Fri, 1 Jul 2022 08:58:50 +0800 Subject: [PATCH] f2fs: add debug log for gc_thread deadloop --- fs/f2f

[f2fs-dev] [Bug 216050] f2fs_gc occupies 100% cpu

2022-06-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216050 --- Comment #30 from Chao Yu (c...@kernel.org) --- (In reply to Chao Yu from comment #29) Sorry, please ignore this patch, let me update it as an attachment. Could you please apply debug patch? If once the bug reproduces, let's check the printed

[f2fs-dev] [Bug 216050] f2fs_gc occupies 100% cpu

2022-06-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216050 --- Comment #31 from Chao Yu (c...@kernel.org) --- Created attachment 301318 --> https://bugzilla.kernel.org/attachment.cgi?id=301318&action=edit debug patch -- You may reply to this email to add a comment. You are receiving this mail because