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

/linux-master/fs/f2fs/
H A Ddebug.c524 si->gc_secs[DATA][BG_GC] + si->gc_secs[DATA][FG_GC],
525 si->gc_secs[DATA][BG_GC]);
527 si->gc_secs[NODE][BG_GC] + si->gc_secs[NODE][FG_GC],
528 si->gc_secs[NODE][BG_GC]);
531 si->gc_segs[DATA][BG_GC] + si->gc_segs[DATA][FG_GC],
532 si->gc_segs[DATA][BG_GC]);
534 si->gc_segs[NODE][BG_GC] + si->gc_segs[NODE][FG_GC],
535 si->gc_segs[NODE][BG_GC]);
H A Dgc.c133 gc_control.init_gc_type = sync_mode ? FG_GC : BG_GC;
220 if (gc_type == BG_GC) {
793 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) {
794 p.min_segno = sbi->next_victim_seg[BG_GC];
796 sbi->next_victim_seg[BG_GC] = NULL_SEGNO;
873 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap))
1021 /* stop BG_GC if there is not enough free sections. */
1022 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0))
1280 int type = fio.sbi->am.atgc_enabled && (gc_type == BG_GC) &&
1436 if (gc_type == BG_GC) {
[all...]
H A Dsegment.h167 * BG_GC means the background cleaning job.
171 BG_GC = 0, enumerator in enum:__anon121
H A Dsegment.c435 .init_gc_type = BG_GC,
3025 if (!f2fs_get_victim(sbi, &segno, BG_GC, seg_type, alloc_mode, age)) {
3052 if (!f2fs_get_victim(sbi, &segno, BG_GC, i, alloc_mode, age)) {
H A Df2fs.h1291 int init_gc_type; /* FG_GC or BG_GC */
4073 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
4081 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
H A Dfile.c2497 gc_control.init_gc_type = sync ? FG_GC : BG_GC;
2510 .init_gc_type = range->sync ? FG_GC : BG_GC,
H A Dsuper.c3767 sbi->next_victim_seg[BG_GC] = NULL_SEGNO;
/linux-master/include/trace/events/
H A Df2fs.h33 TRACE_DEFINE_ENUM(BG_GC); variable
105 { BG_GC, "Background GC" })
712 (__entry->gc_type == BG_GC) ? __entry->no_bg_gc : -1,

Completed in 236 milliseconds