diff options
| author | Yonggil Song <[email protected]> | 2023-02-16 16:13:50 +0900 |
|---|---|---|
| committer | Jaegeuk Kim <[email protected]> | 2023-03-29 15:17:38 -0700 |
| commit | c17caf0ba3aa3411b96c71b4ce24be1040b8f3e8 (patch) | |
| tree | 4bf63a595c487a8201b2396302cb3a7578a2a8af /tools/perf/scripts/python | |
| parent | 8051692f5f23260215bfe9a72e712d93606acc5f (diff) | |
f2fs: fix uninitialized skipped_gc_rwsem
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: 6f8d4455060d ("f2fs: avoid fi->i_gc_rwsem[WRITE] lock in f2fs_gc")
Signed-off-by: Yonggil Song <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions