epoll on SuSE 10.1 (2.6.16.13-4)?
Volker Lendecke
Volker.Lendecke at SerNet.DE
Mon Jun 5 09:38:41 GMT 2006
Hi!
On the above Kernel I can not reliably run the samba4
smbtorture over tcp against samba3. It turned out that
FIONREAD sometimes returns 0 if epoll said something is
there. I have to apply
Index: lib/stream/packet.c
===================================================================
--- lib/stream/packet.c (Revision 16043)
+++ lib/stream/packet.c (Arbeitskopie)
@@ -264,10 +264,12 @@
}
}
+#if 0
if (npending == 0) {
packet_eof(pc);
return;
}
+#endif
/* possibly expand the partial packet buffer */
if (npending + pc->num_read > pc->partial.length) {
to make it reliable. Is that expected, or is it a kernel
bug? I can send in strace logs if needed.
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20060605/a7aabd95/attachment.bin
More information about the samba-technical
mailing list