Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do not use IOV for now, it doesn't seem implemented here, leading to serious performa...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 9 Sep 2005 10:33:17 +0000 (10:33 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 9 Sep 2005 10:33:17 +0000 (10:33 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1718 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/gras/Transport/transport_plugin_tcp.c

index 4a3f9f6..227a443 100644 (file)
@@ -16,6 +16,8 @@
 #include "xbt/ex.h"
 #include "transport_private.h"
 
+#undef HAVE_READV
+
 #ifdef HAVE_READV
 #include <sys/uio.h>
 #endif       
@@ -350,6 +352,7 @@ gras_trp_bufiov_flush(gras_socket_t sock) {
 
 #ifdef HAVE_READV
   if (data->out == buffering_iov) {
+    DEBUG0("Flush out iov");
     vect = sock->bufdata->out_buf_v;
     if ((size = xbt_dynar_length(vect))) {
       DEBUG1("Flush %d chunks out of this socket",size);
@@ -360,6 +363,7 @@ gras_trp_bufiov_flush(gras_socket_t sock) {
   }
 
   if (data->in == buffering_iov) {
+    DEBUG0("Flush in iov");
     vect = sock->bufdata->in_buf_v;
     if ((size = xbt_dynar_length(vect))) {
       DEBUG1("Get %d chunks from of this socket",size);