Searched refs:BG_GC (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.4/fs/f2fs/ |
| D | gc.c | 164 int gc_mode = (gc_type == BG_GC) ? GC_CB : GC_GREEDY; in select_gc_type() 337 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in get_victim_by_default() 338 p.min_segno = sbi->next_victim_seg[BG_GC]; in get_victim_by_default() 340 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in get_victim_by_default() 404 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap)) in get_victim_by_default() 531 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) in gc_node_segment() 935 if (gc_type == BG_GC) { in move_data_page() 1016 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) in gc_data_segment() 1255 int gc_type = sync ? FG_GC : BG_GC; in f2fs_gc() 1290 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) { in f2fs_gc() [all …]
|
| D | debug.c | 120 si->skipped_atomic_files[BG_GC] = sbi->skipped_atomic_files[BG_GC]; in update_general_status() 375 si->skipped_atomic_files[BG_GC] + in stat_show() 377 si->skipped_atomic_files[BG_GC]); in stat_show()
|
| D | super.c | 423 set_opt(sbi, BG_GC); in parse_options() 426 clear_opt(sbi, BG_GC); in parse_options() 429 set_opt(sbi, BG_GC); in parse_options() 1339 if (!f2fs_readonly(sbi->sb) && test_opt(sbi, BG_GC)) { in f2fs_show_options() 1472 set_opt(sbi, BG_GC); in default_options() 1678 if ((*flags & SB_RDONLY) || !test_opt(sbi, BG_GC)) { in f2fs_remount() 2811 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info() 3544 if (test_opt(sbi, BG_GC) && !f2fs_readonly(sb)) { in f2fs_fill_super()
|
| D | segment.h | 160 BG_GC = 0, enumerator
|
| D | f2fs.h | 3394 si->bg_data_segs += (gc_type == BG_GC) ? 1 : 0; \ 3397 si->bg_node_segs += (gc_type == BG_GC) ? 1 : 0; \ 3409 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \ 3417 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
|
| D | segment.c | 2591 if (v_ops->get_victim(sbi, &segno, BG_GC, type, SSR)) { in get_ssr_segment() 2618 if (v_ops->get_victim(sbi, &segno, BG_GC, i, SSR)) { in get_ssr_segment()
|
| /Linux-v5.4/include/trace/events/ |
| D | f2fs.h | 36 TRACE_DEFINE_ENUM(BG_GC); 108 { BG_GC, "Background GC" })
|