Searched refs:gc_thread (Results 1 – 9 of 9) sorted by relevance
78 return (unsigned char *)&sbi->gc_thread; in __struct_ptr()667 if (sbi->gc_thread.f2fs_gc_task) { in __sbi_store()668 sbi->gc_thread.gc_wake = true; in __sbi_store()670 &sbi->gc_thread.gc_wait_queue_head); in __sbi_store()677 if (sbi->gc_thread.f2fs_gc_task) { in __sbi_store()678 sbi->gc_thread.gc_wake = true; in __sbi_store()680 &sbi->gc_thread.gc_wait_queue_head); in __sbi_store()937 sbi->gc_thread.boost_gc_multiple = (unsigned int)t; in __sbi_store()944 sbi->gc_thread.boost_gc_greedy = (unsigned int)t; in __sbi_store()992 if (sbi->gc_thread.f2fs_gc_task) in __sbi_store()[all …]
175 sbi->gc_thread.boost_zoned_gc_percent); in need_to_boost_gc()
34 struct f2fs_gc_kthread *gc_th = &sbi->gc_thread; in gc_thread_func()35 wait_queue_head_t *wq = &sbi->gc_thread.gc_wait_queue_head; in gc_thread_func()36 wait_queue_head_t *fggc_wq = &sbi->gc_thread.fggc_wq; in gc_thread_func()196 struct f2fs_gc_kthread *gc_th = &sbi->gc_thread; in f2fs_start_gc_thread()238 struct f2fs_gc_kthread *gc_th = &sbi->gc_thread; in f2fs_stop_gc_thread()793 valid_thresh_ratio = sbi->gc_thread.valid_thresh_ratio; in f2fs_get_victim()1804 sbi->gc_thread.boost_zoned_gc_percent)) in do_garbage_collect()1806 sbi->gc_thread.boost_gc_multiple; in do_garbage_collect()
455 if (test_opt(sbi, GC_MERGE) && sbi->gc_thread.f2fs_gc_task) { in f2fs_balance_fs()458 prepare_to_wait(&sbi->gc_thread.fggc_wq, &wait, in f2fs_balance_fs()460 wake_up(&sbi->gc_thread.gc_wait_queue_head); in f2fs_balance_fs()462 finish_wait(&sbi->gc_thread.fggc_wq, &wait); in f2fs_balance_fs()
2980 if (sbi->gc_thread.f2fs_gc_task) { in __f2fs_remount()2984 } else if (!sbi->gc_thread.f2fs_gc_task) { in __f2fs_remount()
1923 struct f2fs_gc_kthread gc_thread; /* GC thread */ member
637 struct task_struct *gc_thread; member
1907 c->gc_thread = kthread_run(bch_gc_thread, c, "bcache_gc"); in bch_gc_thread_start()1908 return PTR_ERR_OR_ZERO(c->gc_thread); in bch_gc_thread_start()
4 Description: Controls the maximum sleep time for gc_thread. Time10 Description: Controls the minimum sleep time for gc_thread. Time16 Description: Controls the default sleep time for gc_thread. Time