• Jaegeuk Kim's avatar
    f2fs: revisit the f2fs_gc flow · 408e9375
    Jaegeuk Kim authored
    I'd like to revisit the f2fs_gc flow and rewrite as follows.
    
    1. In practical, the nGC parameter of f2fs_gc is meaningless. So, let's
      remove it.
    2. Background GC marks victim blocks as dirty one at a time.
    3. Foreground GC should do cleaning job until acquiring enough free
      sections. Afterwards, it needs to do checkpoint.
    Signed-off-by: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
    408e9375
gc.c 16.8 KB