Searched refs:max_workers (Results 1 – 2 of 2) sorted by relevance
81 unsigned max_workers; member314 if (unlikely(!acct->max_workers)) in io_wq_create_worker()318 if (acct->nr_workers >= acct->max_workers) { in io_wq_create_worker()349 if (acct->nr_workers < acct->max_workers) { in create_worker_cb()1172 wq->acct[IO_WQ_ACCT_BOUND].max_workers = bounded; in io_wq_create()1173 wq->acct[IO_WQ_ACCT_UNBOUND].max_workers = in io_wq_create()1378 prev[i] = max_t(int, acct->max_workers, prev[i]); in io_wq_max_workers()1380 acct->max_workers = new_count[i]; in io_wq_max_workers()
41 executor = futures.ThreadPoolExecutor(max_workers=len(commands))