iscsi-target: Drop legacy iscsi_target_tq.c logic
authorNicholas Bellinger <nab@linux-iscsi.org>
Fri, 27 Feb 2015 10:21:06 +0000 (10:21 +0000)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 26 Mar 2015 21:49:49 +0000 (14:49 -0700)
commit073900bdb4e34109a647c7cb871856a771634460
treeba3f0af323fdf659f088da43780d07de4cb1c6de
parent88dcd2dab5c23b1c9cfc396246d8f476c872f0ca
iscsi-target: Drop legacy iscsi_target_tq.c logic

Now that iscsi_conn allocates new [rx,tx] threads using kthread.h
primitives on the fly, and kthread_stop() is called directly during
connection shutdown, it's time to go ahead and drop iscsi_target_tq.c
legacy code.

The use of multiple struct completion in iscsi_activate_thread_set()
has been proven to cause issues during repeated iser login/logout.

Tested-by: Sagi Grimberg <sagig@mellanox.com>
Cc: Slava Shwartsman <valyushash@gmail.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/Makefile
drivers/target/iscsi/iscsi_target.c
drivers/target/iscsi/iscsi_target_erl0.c
drivers/target/iscsi/iscsi_target_login.c
drivers/target/iscsi/iscsi_target_tq.c [deleted file]
drivers/target/iscsi/iscsi_target_tq.h [deleted file]
drivers/target/iscsi/iscsi_target_util.c
include/target/iscsi/iscsi_target_core.h