Home
last modified time | relevance | path

Searched refs:gc_th (Results 1 – 2 of 2) sorted by relevance

/linux/fs/f2fs/
H A Dgc.h145 static inline void increase_sleep_time(struct f2fs_gc_kthread *gc_th, in increase_sleep_time() argument
148 unsigned int min_time = gc_th->min_sleep_time; in increase_sleep_time()
149 unsigned int max_time = gc_th->max_sleep_time; in increase_sleep_time()
151 if (*wait == gc_th->no_gc_sleep_time) in increase_sleep_time()
160 static inline void decrease_sleep_time(struct f2fs_gc_kthread *gc_th, in decrease_sleep_time() argument
163 unsigned int min_time = gc_th->min_sleep_time; in decrease_sleep_time()
165 if (*wait == gc_th->no_gc_sleep_time) in decrease_sleep_time()
166 *wait = gc_th->max_sleep_time; in decrease_sleep_time()
H A Dgc.c34 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; in gc_thread_func() local
44 wait_ms = gc_th->min_sleep_time; in gc_thread_func()
53 gc_th->gc_wake, in gc_thread_func()
64 if (gc_th->gc_wake) in gc_thread_func()
65 gc_th->gc_wake = false; in gc_thread_func()
75 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
104 wait_ms = gc_th->urgent_sleep_time; in gc_thread_func()
118 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
126 gc_th->no_zoned_gc_percent)) { in gc_thread_func()
127 wait_ms = gc_th->no_gc_sleep_time; in gc_thread_func()
[all …]