Home
last modified time | relevance | path

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

/linux-4.1.27/fs/btrfs/
Dasync-thread.c182 int new_max_active; in thresh_exec_hook() local
199 new_max_active = wq->current_max; in thresh_exec_hook()
207 new_max_active++; in thresh_exec_hook()
209 new_max_active--; in thresh_exec_hook()
210 new_max_active = clamp_val(new_max_active, 1, wq->max_active); in thresh_exec_hook()
211 if (new_max_active != wq->current_max) { in thresh_exec_hook()
213 wq->current_max = new_max_active; in thresh_exec_hook()