[PATCH 0/5] f2fs: fix and improve for victim_secmap

From: Yunlong Song
Date: Mon Jul 23 2018 - 10:10:47 EST


There are some fixes and improvements for using with victim_secmap.

Yunlong Song (5):
f2fs: clear victim_secmap when section has full valid blocks
f2fs: add cur_victim_sec for BG_GC to avoid skipping BG_GC victim
f2fs: clear_bit the SSR selected section in the victim_secmap
f2fs: let BG_GC check every dirty segments and gc over a threshold
f2fs: add proc entry to show victim_secmap bitmap

fs/f2fs/f2fs.h | 5 ++++-
fs/f2fs/gc.c | 39 ++++++++++++++++++++++++++++++---------
fs/f2fs/segment.c | 4 +++-
fs/f2fs/segment.h | 12 +++++++++++-
fs/f2fs/super.c | 3 ++-
fs/f2fs/sysfs.c | 25 +++++++++++++++++++++++++
include/trace/events/f2fs.h | 18 ++++++++++++------
7 files changed, 87 insertions(+), 19 deletions(-)

--
1.8.5.2