Re: [f2fs-dev] [PATCH v5] f2fs: protect published gc_thread during teardown
Cen Zhang <[email protected]>
| Newsgroups | net.sourceforge.lists.linux-f2fs-devel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAB7XQsGGZioeaf0bKz7DYYwUwP6++JHoTkxioLs19mY1Co99wQ@mail.gmail.com> |
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 _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel