[PATCH 0/3] iscsi-target: Misc thread_set improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>

Hi folks,

Here is a small set of miscellaneous improvements to the iscsi-target
thread_set code to reduce latency for handling 100's of simultaneous
logins, that goes along with iscsi-target login multi-plexing logic
in-flight for v3.12-rc1.

The first patch fixes a long-standing race between rx/tx pre handlers
use of flush_signals(), and iscsi_deallocate_extra_thread_sets() setting
of ISCSI_THREAD_SET_DIE before calling kthread_stop().

The second patch removes the iscsi_thread_set->[rx,tx]_post_start_comp
that was originally used synchronize startup between rx and tx threads
within a single thread_set.

And the third patch removes an unnecessary wait_for_completion() within
iscsi_get_thread_set(), that originally would wait an extra second when
no thread_set pair was available.

Thanks,

--nab

Nicholas Bellinger (3):
  iscsi-target: Fix race with thread_pre_handler flush_signals +
    ISCSI_THREAD_SET_DIE
  iscsi-target: Remove iscsi_thread_set->[rx,tx]_post_start_comp
  iscsi-target: Remove unnecessary wait_for_completion in
    iscsi_get_thread_set

 drivers/target/iscsi/iscsi_target_tq.c |   63 +++++++++++---------------------
 drivers/target/iscsi/iscsi_target_tq.h |    4 --
 2 files changed, 22 insertions(+), 45 deletions(-)

-- 
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux