[stgt] [PATCH 3/3] use pthread per target model for iSCSI/tcp

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Thu Jun 10 03:19:26 CEST 2010


I've merged the three patches to convert iSCSI/tcp to run pthread per
target.

As the commit log said,

Note that the pthread-per-target model is enabled only if tgt uses
signalfd. Even if with the main process model, tgt is much faster with
signalfd-capable kernels. Linux 2.6.22 or newer is strongly
recommended.

=
 usr/bs.c               |   57 +++++++++++++++++++++----------------
 usr/iscsi/conn.c       |    5 ++-
 usr/iscsi/iscsi_rdma.c |    8 +++++
 usr/iscsi/iscsi_tcp.c  |   56 ++++++++++++++++++++++++++++++++++--
 usr/iscsi/iscsid.c     |    9 +++++-
 usr/iscsi/iscsid.h     |    9 ++++++
 usr/iscsi/target.c     |   73 ++++++++++++++++++++++++++++++++++++++++++++++-
 usr/iscsi/transport.h  |    3 ++
 usr/target.h           |    2 +
 usr/tgtd.c             |   39 ++++++++++++++++++-------
 usr/tgtd.h             |   15 ++++++++++
 11 files changed, 233 insertions(+), 43 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list