On Mon, 26 Nov 2007 09:53:38 +0100
Albert Pauw <[EMAIL PROTECTED]> wrote:
> Just reminded myself to compare apples with apples, not pears ;-)
>
> So I ran the tests again, both type of targets (iet, tgt) with the same
> settings
> (MaxBurstLength, DataSegmentLenghts, Digests).
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);
}
_______________________________________________
Stgt-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/stgt-devel