[Ocfs2-commits] smushran commits r3048 -
branches/ocfs2-1.2.6/fs/ocfs2/cluster
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon Jul 30 11:54:53 PDT 2007
Author: smushran
Date: 2007-07-30 11:54:53 -0700 (Mon, 30 Jul 2007)
New Revision: 3048
Modified:
branches/ocfs2-1.2.6/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.6/fs/ocfs2/cluster/tcp.c
===================================================================
--- branches/ocfs2-1.2.6/fs/ocfs2/cluster/tcp.c 2007-07-30 18:53:24 UTC (rev 3047)
+++ branches/ocfs2-1.2.6/fs/ocfs2/cluster/tcp.c 2007-07-30 18:54:53 UTC (rev 3048)
@@ -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