Re: [f2fs-dev] [PATCH v1] f2fs: fix uninitialized skipped_gc_rwsem

2023-02-15 Thread Chao Yu
On 2023/2/15 10:48, Yonggil Song wrote: When f2fs skipped a gc round during victim migration, there was a bug which would skip all upcoming gc rounds unconditionally because skipped_gc_rwsem was not initialized. It fixes the bug by correctly initializing the skipped_gc_rwsem inside the gc loop.

[f2fs-dev] [PATCH v1] f2fs: fix uninitialized skipped_gc_rwsem

2023-02-14 Thread Yonggil Song
When f2fs skipped a gc round during victim migration, there was a bug which would skip all upcoming gc rounds unconditionally because skipped_gc_rwsem was not initialized. It fixes the bug by correctly initializing the skipped_gc_rwsem inside the gc loop. Fixes: d147ea4adb96 ("f2fs: introduce