[Ocfs2-commits] smushran commits r3047 - branches/ocfs2-1.2.5/fs/ocfs2/cluster

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Jul 30 11:53:25 PDT 2007


Author: smushran
Date: 2007-07-30 11:53:24 -0700 (Mon, 30 Jul 2007)
New Revision: 3047

Modified:
   branches/ocfs2-1.2.5/fs/ocfs2/cluster/tcp.c
Log:
ocfs2: Breaks from the sendpage() loop incase of an error

This fix rectifies the bug introduced by the recent patch that reattempts
sendpage() incase of an EAGAIN.

Signed-off-by: mfasheh

Modified: branches/ocfs2-1.2.5/fs/ocfs2/cluster/tcp.c
===================================================================
--- branches/ocfs2-1.2.5/fs/ocfs2/cluster/tcp.c	2007-07-24 21:09:03 UTC (rev 3046)
+++ branches/ocfs2-1.2.5/fs/ocfs2/cluster/tcp.c	2007-07-30 18:53:24 UTC (rev 3047)
@@ -874,6 +874,7 @@
 		mlog(ML_ERROR, "sendpage of size %zu to " SC_NODEF_FMT 
 		     " failed with %zd\n", size, SC_NODEF_ARGS(sc), ret);
 		o2net_ensure_shutdown(nn, sc, 0);
+		break;
 	}
 }
 




More information about the Ocfs2-commits mailing list