[stgt] [PATCH 1/1] Updated : Add parameters to set number of threads at runtime

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Thu Sep 24 13:00:47 CEST 2009


On Tue, 22 Sep 2009 09:01:28 +1000
ronnie sahlberg <ronniesahlberg at gmail.com> wrote:

> From c3ba36d698958990ac18b51aebd96f36193252ac Mon Sep 17 00:00:00 2001
> From: Ronnie Sahlberg <ronniesahlberg at gmail.com>
> Date: Tue, 22 Sep 2009 08:56:11 +1000
> Subject: [PATCH] Add parameters to allow setting the number of threads at runtime.
>  Add command line arguments -t/--threads
> 
> Default is 4 threads.
> 
> Signed-off-by: Ronnie Sahlberg <ronniesahlberg at gmail.com>
> ---
>  usr/bs.c        |   23 +++++++++++++----------
>  usr/bs_mmap.c   |    2 +-
>  usr/bs_rdwr.c   |    2 +-
>  usr/bs_thread.h |    4 ++--
>  usr/tgtd.c      |   11 ++++++++++-
>  usr/tgtd.h      |    3 +++
>  6 files changed, 30 insertions(+), 15 deletions(-)

The second version looks fine to me. If nobody has comments, I apply
this.
--
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