Home
last modified time | relevance | path

Searched refs:BG_GC (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/fs/f2fs/
H A Dgc.c195 if (gc_type == BG_GC) { in select_gc_type()
687 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in get_victim_by_default()
688 p.min_segno = sbi->next_victim_seg[BG_GC]; in get_victim_by_default()
690 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in get_victim_by_default()
767 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap)) in get_victim_by_default()
914 /* stop BG_GC if there is not enough free sections. */ in gc_node_segment()
915 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) in gc_node_segment()
1352 if (gc_type == BG_GC) { in move_data_page()
1436 * stop BG_GC if there is not enough free sections. in gc_data_segment()
1440 if ((gc_type == BG_GC in gc_data_segment()
[all...]
H A Ddebug.c157 si->skipped_atomic_files[BG_GC] = sbi->skipped_atomic_files[BG_GC]; in update_general_status()
433 si->skipped_atomic_files[BG_GC] + in stat_show()
435 si->skipped_atomic_files[BG_GC]); in stat_show()
H A Df2fs.h1513 unsigned long long skipped_atomic_files[2]; /* FG_GC and BG_GC */
3716 si->bg_data_segs += (gc_type == BG_GC) ? 1 : 0; \
3719 si->bg_node_segs += (gc_type == BG_GC) ? 1 : 0; \
3731 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
3739 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
H A Dsegment.h191 * BG_GC means the background cleaning job.
196 BG_GC = 0, enumerator
H A Dsegment.c2973 if (!v_ops->get_victim(sbi, &segno, BG_GC, seg_type, alloc_mode, age)) { in get_ssr_segment()
3000 if (!v_ops->get_victim(sbi, &segno, BG_GC, i, alloc_mode, age)) { in get_ssr_segment()
H A Dsuper.c3187 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
/kernel/linux/linux-6.6/fs/f2fs/
H A Dgc.c133 gc_control.init_gc_type = sync_mode ? FG_GC : BG_GC; in gc_thread_func()
220 if (gc_type == BG_GC) { in select_gc_type()
794 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in f2fs_get_victim()
795 p.min_segno = sbi->next_victim_seg[BG_GC]; in f2fs_get_victim()
797 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in f2fs_get_victim()
874 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap)) in f2fs_get_victim()
1022 /* stop BG_GC if there is not enough free sections. */ in gc_node_segment()
1023 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) in gc_node_segment()
1285 int type = fio.sbi->am.atgc_enabled && (gc_type == BG_GC) && in move_data_block()
1442 if (gc_type == BG_GC) { in move_data_page()
[all...]
H A Ddebug.c525 si->gc_secs[DATA][BG_GC] + si->gc_secs[DATA][FG_GC], in stat_show()
526 si->gc_secs[DATA][BG_GC]); in stat_show()
528 si->gc_secs[NODE][BG_GC] + si->gc_secs[NODE][FG_GC], in stat_show()
529 si->gc_secs[NODE][BG_GC]); in stat_show()
532 si->gc_segs[DATA][BG_GC] + si->gc_segs[DATA][FG_GC], in stat_show()
533 si->gc_segs[DATA][BG_GC]); in stat_show()
535 si->gc_segs[NODE][BG_GC] + si->gc_segs[NODE][FG_GC], in stat_show()
536 si->gc_segs[NODE][BG_GC]); in stat_show()
H A Dsegment.h180 * BG_GC means the background cleaning job.
184 BG_GC = 0, enumerator
H A Dsegment.c432 .init_gc_type = BG_GC, in f2fs_balance_fs()
2990 if (!f2fs_get_victim(sbi, &segno, BG_GC, seg_type, alloc_mode, age)) { in get_ssr_segment()
3017 if (!f2fs_get_victim(sbi, &segno, BG_GC, i, alloc_mode, age)) { in get_ssr_segment()
H A Df2fs.h1281 int init_gc_type; /* FG_GC or BG_GC */
4063 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
4071 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
H A Dfile.c2468 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()
H A Dsuper.c3819 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
/kernel/linux/linux-6.6/include/trace/events/
H A Df2fs.h33 TRACE_DEFINE_ENUM(BG_GC); variable
105 { BG_GC, "Background GC" })
695 (__entry->gc_type == BG_GC) ? __entry->no_bg_gc : -1,
/kernel/linux/linux-5.10/include/trace/events/
H A Df2fs.h37 TRACE_DEFINE_ENUM(BG_GC); variable
111 { BG_GC, "Background GC" })

Completed in 56 milliseconds