[PVFS2-CVS]
commit by neill in pvfs2/test/kernel/linux-2.6: threaded_write.c
CVS commit program
cvs at parl.clemson.edu
Mon Jul 12 18:12:44 EDT 2004
Update of /projects/cvsroot/pvfs2/test/kernel/linux-2.6
In directory parlweb:/tmp/cvs-serv19097/test/kernel/linux-2.6
Modified Files:
threaded_write.c
Log Message:
- add some error handling; null out ptrs that are no longer in use
(fixes several crash bugs found in the job expiration case); add
some sanity checks, etc
- make server continue processing, rather than abort on
BMI_testcontext errors (these are recoverable)
Index: threaded_write.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/kernel/linux-2.6/threaded_write.c,v
diff -p -u -r1.1 -r1.2
--- threaded_write.c 12 Jul 2004 17:04:41 -0000 1.1
+++ threaded_write.c 12 Jul 2004 21:12:43 -0000 1.2
@@ -33,6 +33,8 @@ void *write_file(void *ptr)
threaded_write_info_t *info = (threaded_write_info_t *)ptr;
struct iovec iov[2];
+ sleep(2);
+
if (info)
{
buf = (char *)malloc(info->size);
More information about the PVFS2-CVS
mailing list