Re: [PATCH v5] f2fs: protect published gc_thread during teardown
From: Cen Zhang
Date: Mon Jun 29 2026 - 10:09:40 EST
Hi Chao,
>
> Can you please take a look this:
>
> f2fs: embed f2fs_gc_kthread in f2fs_sb_info
>
> I guess we need to fix race case on sbi->gc_thread by embedding the sturture
> into f2fs_sb_info, and then you can fix race case on sbi->gc_thread.f2fs_gc_task
> w/ lock or ref something like that?
Thanks for the review and the patch.
I'll take a look at your patch and try to fix this based on it.
Best regards,
Zhang Cen