[Stgt-devel] No LUN option in target.c
Albert Pauw
albert.pauw
Mon Nov 26 12:25:19 CET 2007
2007/11/26-12:24:19 | STAT | 3237 | v1.2.8 | /dev/sdb | Total read
throughput: 827938.1B/s (0.79MB/s), IOPS 25.3/s.
The patch didn't make a difference, sorry.
Albert
> Does this patch help on your configuration (target and initiator run
> on the same machine)?
>
>
> diff --git a/usr/log.c b/usr/log.c
> index 414f9f4..b77b8c3 100644
> --- a/usr/log.c
> +++ b/usr/log.c
> @@ -338,8 +338,8 @@ int log_init(char *program_name, int size, int daemon, int debug)
> sigaction(SIGSEGV, &sa_new, &sa_old );
>
> while(1) {
> - log_flush();
> - sleep(1);
> +/* log_flush(); */
> + sleep(100);
> }
> exit(0);
> }
>
>
More information about the stgt
mailing list