mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-25 07:51:28 +00:00
iscsi: Only use thread pool for TCP but not for iSER
Signed-off-by: Yan Burman <yanb@mellanox.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6480 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -98,10 +98,12 @@ static int iscsi_session_alloc(struct iscsi_target *target,
|
||||
goto err;
|
||||
}
|
||||
|
||||
err = iscsi_threads_pool_get(&session->scst_sess->acg->acg_cpu_mask,
|
||||
&session->sess_thr_pool);
|
||||
if (err != 0)
|
||||
goto err_unreg;
|
||||
if (!session->sess_params.rdma_extensions) {
|
||||
err = iscsi_threads_pool_get(&session->scst_sess->acg->acg_cpu_mask,
|
||||
&session->sess_thr_pool);
|
||||
if (err != 0)
|
||||
goto err_unreg;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SCST_PROC
|
||||
kfree(name);
|
||||
|
||||
Reference in New Issue
Block a user