[Pvfs2-cvs] commit by pcarns in pvfs2/src/io/bmi:
bmi-method-support.c bmi-method-support.h
CVS commit program
cvs at parl.clemson.edu
Sun Jun 7 13:15:36 EDT 2009
Update of /projects/cvsroot/pvfs2/src/io/bmi
In directory parlweb1:/tmp/cvs-serv29106/src/io/bmi
Modified Files:
Tag: tcp-peer-comm-branch
bmi-method-support.c bmi-method-support.h
Log Message:
handle case in which incoming connection is established prior to address
lookup
Index: bmi-method-support.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/bmi/bmi-method-support.c,v
diff -p -u -r1.12 -r1.12.34.1
--- bmi-method-support.c 6 Nov 2007 23:08:33 -0000 1.12
+++ bmi-method-support.c 7 Jun 2009 17:15:36 -0000 1.12.34.1
@@ -100,6 +100,7 @@ struct bmi_method_addr *bmi_alloc_method
}
memset(my_method_addr, 0, (ssize + payload_size));
my_method_addr->method_type = method_type;
+ my_method_addr->ref_count = 1;
my_method_addr->method_data = (char *) my_method_addr + ssize;
Index: bmi-method-support.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/bmi/bmi-method-support.h,v
diff -p -u -r1.34 -r1.34.18.1
--- bmi-method-support.h 20 Nov 2008 01:16:54 -0000 1.34
+++ bmi-method-support.h 7 Jun 2009 17:15:36 -0000 1.34.18.1
@@ -43,6 +43,7 @@
struct bmi_method_addr
{
int method_type;
+ int ref_count;
void *method_data; /* area to be used by specific methods */
void *parent; /* pointer back to generic BMI address info */
};
More information about the Pvfs2-cvs
mailing list