Searched refs:max_workers (Results 1 – 2 of 2) sorted by relevance
79 unsigned max_workers; member312 if (unlikely(!acct->max_workers)) in io_wq_create_worker()316 if (acct->nr_workers >= acct->max_workers) { in io_wq_create_worker()347 if (acct->nr_workers < acct->max_workers) { in create_worker_cb()1165 wq->acct[IO_WQ_ACCT_BOUND].max_workers = bounded; in io_wq_create()1166 wq->acct[IO_WQ_ACCT_UNBOUND].max_workers = in io_wq_create()1359 prev[i] = max_t(int, acct->max_workers, prev[i]); in io_wq_max_workers()1361 acct->max_workers = new_count[i]; in io_wq_max_workers()
41 executor = futures.ThreadPoolExecutor(max_workers=len(commands))