Searched refs:FG_GC (Results 1 - 13 of 13) sorted by relevance
/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | gc.c | 252 if (gc_type != FG_GC && in select_policy() 292 * If the gc_type is FG_GC, we can select victim segments in check_bg_victims() 693 if (gc_type == FG_GC && in get_victim_by_default() 694 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in get_victim_by_default() 695 p.min_segno = sbi->next_victim_seg[FG_GC]; in get_victim_by_default() 697 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in get_victim_by_default() 703 if (p.alloc_mode == LFS && gc_type == FG_GC) { in get_victim_by_default() 812 if (gc_type == FG_GC) in get_victim_by_default() 896 bool fggc = (gc_type == FG_GC); in gc_node_segment() 954 if (!err && gc_type == FG_GC) in gc_node_segment() [all...] |
H A D | debug.c | 158 si->skipped_atomic_files[FG_GC] = sbi->skipped_atomic_files[FG_GC]; in update_general_status() 434 si->skipped_atomic_files[FG_GC], in stat_show()
|
H A D | segment.h | 192 * FG_GC means the on-demand cleaning job. 197 FG_GC, enumerator
|
H A D | super.c | 3188 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
|
H A D | node.c | 1630 if (gc_type == FG_GC) { in f2fs_move_node_page()
|
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | gc.c | 133 gc_control.init_gc_type = sync_mode ? FG_GC : BG_GC; in gc_thread_func() 277 if (gc_type != FG_GC && in select_policy() 319 * If the gc_type is FG_GC, we can select victim segments in check_bg_victims() 729 if (gc_type != FG_GC) in f2fs_gc_pinned_control() 800 if (gc_type == FG_GC && in f2fs_get_victim() 801 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in f2fs_get_victim() 802 p.min_segno = sbi->next_victim_seg[FG_GC]; in f2fs_get_victim() 804 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in f2fs_get_victim() 810 if (p.alloc_mode == LFS && gc_type == FG_GC) { in f2fs_get_victim() 877 if (gc_type == FG_GC in f2fs_get_victim() [all...] |
H A D | debug.c | 525 si->gc_secs[DATA][BG_GC] + si->gc_secs[DATA][FG_GC], in stat_show() 528 si->gc_secs[NODE][BG_GC] + si->gc_secs[NODE][FG_GC], in stat_show() 532 si->gc_segs[DATA][BG_GC] + si->gc_segs[DATA][FG_GC], in stat_show() 535 si->gc_segs[NODE][BG_GC] + si->gc_segs[NODE][FG_GC], in stat_show()
|
H A D | segment.h | 181 * FG_GC means the on-demand cleaning job. 185 FG_GC, enumerator
|
H A D | file.c | 1680 .init_gc_type = FG_GC, in f2fs_expand_inode_data() 2468 gc_control.init_gc_type = sync ? FG_GC : BG_GC; in f2fs_ioc_gc() 2481 .init_gc_type = range->sync ? FG_GC : BG_GC, in __f2fs_ioc_gc_range() 2953 .init_gc_type = FG_GC, in f2fs_ioc_flush_device()
|
H A D | super.c | 2246 .init_gc_type = FG_GC, in f2fs_disable_checkpoint() 3820 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
|
H A D | node.c | 1712 if (gc_type == FG_GC) { in f2fs_move_node_page()
|
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | f2fs.h | 36 TRACE_DEFINE_ENUM(FG_GC); variable 110 { FG_GC, "Foreground GC" }, \
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | f2fs.h | 32 TRACE_DEFINE_ENUM(FG_GC); variable 104 { FG_GC, "Foreground GC" }, \
|
Completed in 35 milliseconds