Searched refs:gc_thread (Results 1 – 10 of 10) sorted by relevance
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()217 sbi->gc_thread = gc_th; in f2fs_start_gc_thread()218 init_waitqueue_head(&sbi->gc_thread->gc_wait_queue_head); in f2fs_start_gc_thread()219 init_waitqueue_head(&sbi->gc_thread->fggc_wq); in f2fs_start_gc_thread()226 sbi->gc_thread = NULL; in f2fs_start_gc_thread()235 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; in f2fs_stop_gc_thread()242 sbi->gc_thread = NULL; in f2fs_stop_gc_thread()401 CAP_BLKS_PER_SEC(sbi) * sbi->gc_thread->valid_thresh_ratio / in get_gc_cost()[all …]
70 return (unsigned char *)sbi->gc_thread; in __struct_ptr()577 if (sbi->gc_thread) { in __sbi_store()578 sbi->gc_thread->gc_wake = true; in __sbi_store()580 &sbi->gc_thread->gc_wait_queue_head); in __sbi_store()587 if (sbi->gc_thread) { in __sbi_store()588 sbi->gc_thread->gc_wake = true; in __sbi_store()590 &sbi->gc_thread->gc_wait_queue_head); in __sbi_store()
288 if (sbi->gc_thread) in update_mem_info()
431 if (test_opt(sbi, GC_MERGE) && sbi->gc_thread && in f2fs_balance_fs()432 sbi->gc_thread->f2fs_gc_task) { in f2fs_balance_fs()435 prepare_to_wait(&sbi->gc_thread->fggc_wq, &wait, in f2fs_balance_fs()437 wake_up(&sbi->gc_thread->gc_wait_queue_head); in f2fs_balance_fs()439 finish_wait(&sbi->gc_thread->fggc_wq, &wait); in f2fs_balance_fs()
2429 if (sbi->gc_thread) { in f2fs_remount()2433 } else if (!sbi->gc_thread) { in f2fs_remount()
1680 struct f2fs_gc_kthread *gc_thread; /* GC thread */ member
637 struct task_struct *gc_thread; member
1718 if (!IS_ERR_OR_NULL(c->gc_thread)) in CLOSURE_CALLBACK()1719 kthread_stop(c->gc_thread); in CLOSURE_CALLBACK()
1914 c->gc_thread = kthread_run(bch_gc_thread, c, "bcache_gc"); in bch_gc_thread_start()1915 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
Completed in 65 milliseconds