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

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

 



On Tue, 22 Sep 2009 09:01:28 +1000
ronnie sahlberg <ronniesahlberg@xxxxxxxxx> wrote:

> From c3ba36d698958990ac18b51aebd96f36193252ac Mon Sep 17 00:00:00 2001
> From: Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx>
> 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@xxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux