Searched refs:BG_GC (Results 1 – 8 of 8) sorted by relevance
/linux/fs/f2fs/ |
H A D | debug.c | 524 si->gc_secs[DATA][BG_GC] + si->gc_secs[DATA][FG_GC], in stat_show() 525 si->gc_secs[DATA][BG_GC]); in stat_show() 527 si->gc_secs[NODE][BG_GC] + si->gc_secs[NODE][FG_GC], in stat_show() 528 si->gc_secs[NODE][BG_GC]); in stat_show() 531 si->gc_segs[DATA][BG_GC] + si->gc_segs[DATA][FG_GC], in stat_show() 532 si->gc_segs[DATA][BG_GC]); in stat_show() 534 si->gc_segs[NODE][BG_GC] + si->gc_segs[NODE][FG_GC], in stat_show() 535 si->gc_segs[NODE][BG_GC]); in stat_show()
|
H A D | gc.c | 150 gc_control.init_gc_type = sync_mode ? FG_GC : BG_GC; in gc_thread_func() 249 if (gc_type == BG_GC) { in select_gc_type() 828 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in f2fs_get_victim() 829 p.min_segno = sbi->next_victim_seg[BG_GC]; in f2fs_get_victim() 831 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in f2fs_get_victim() 908 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap)) in f2fs_get_victim() 1057 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) in gc_node_segment() 1318 int type = fio.sbi->am.atgc_enabled && (gc_type == BG_GC) && in move_data_block() 1474 if (gc_type == BG_GC) { in move_data_page() 1561 if ((gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) || in gc_data_segment() [all …]
|
H A D | segment.h | 171 BG_GC = 0, enumerator
|
H A D | segment.c | 443 .init_gc_type = BG_GC, in f2fs_balance_fs() 3093 if (!f2fs_get_victim(sbi, &segno, BG_GC, seg_type, in get_ssr_segment() 3121 if (!f2fs_get_victim(sbi, &segno, BG_GC, i, in get_ssr_segment()
|
H A D | f2fs.h | 4110 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \ 4118 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
|
H A D | file.c | 2592 gc_control.init_gc_type = sync ? FG_GC : BG_GC; in f2fs_ioc_gc() 2605 .init_gc_type = range->sync ? FG_GC : BG_GC, in __f2fs_ioc_gc_range()
|
H A D | super.c | 3806 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
|
/linux/include/trace/events/ |
H A D | f2fs.h | 33 TRACE_DEFINE_ENUM(BG_GC); 105 { BG_GC, "Background GC" }) 713 (__entry->gc_type == BG_GC) ? __entry->no_bg_gc : -1,
|