07 Jul, 2016

1 commit


31 Dec, 2015

1 commit


23 Dec, 2015

1 commit


21 Aug, 2015

1 commit


05 Aug, 2015

4 commits

  • We don't need to handle the duplicate extent information.

    The integrated rule is:
    - update on-disk extent with largest one tracked by in-memory extent_cache
    - destroy extent_tree for the truncation case
    - drop per-inode extent_cache by shrinker

    Reviewed-by: Chao Yu
    Signed-off-by: Jaegeuk Kim

    Jaegeuk Kim
     
  • This patch registers shrinking extent_caches.

    Reviewed-by: Chao Yu
    Signed-off-by: Jaegeuk Kim

    Jaegeuk Kim
     
  • This patch registers shrinking nat_cache entries.

    Reviewed-by: Chao Yu
    Signed-off-by: Jaegeuk Kim

    Jaegeuk Kim
     
  • This patch introduces a shrinker targeting to reduce memory footprint consumed
    by a number of in-memory f2fs data structures.

    In addition, it newly adds:
    - sbi->umount_mutex to avoid data races on shrinker and put_super
    - sbi->shruinker_run_no to not revisit objects

    Note that the basic implementation was copied from fs/ubifs/shrinker.c

    Reviewed-by: Chao Yu
    Signed-off-by: Jaegeuk Kim

    Jaegeuk Kim