[PVFS2-CVS] commit by robl in pvfs2-1/src/io/job: thread-mgr.c
CVS commit program
cvs at parl.clemson.edu
Thu Sep 29 19:28:57 EDT 2005
Update of /projects/cvsroot/pvfs2-1/src/io/job
In directory parlweb:/tmp/cvs-serv10702/src/io/job
Modified Files:
thread-mgr.c
Log Message:
[pcarns]: add a protocol version to the pvfs2 device communication. ensures
clients and the kernel module come from the same source tree, but also has the
pleasing side effect of 8-byte aligning access to the header of the request.
Index: thread-mgr.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/io/job/thread-mgr.c,v
diff -u -w -p -u -r1.25 -r1.26
--- thread-mgr.c 9 Feb 2005 21:46:59 -0000 1.25
+++ thread-mgr.c 29 Sep 2005 22:28:57 -0000 1.26
@@ -296,6 +296,12 @@ static void *dev_thread_function(void *p
if (ret < 0)
{
PVFS_perror_gossip("critical device failure", ret);
+ gossip_err("Exiting...\n");
+ /* exit with a particular code so that the pvfs2-client wrapper
+ * knows that it should not attempt a restart of the
+ * pvfs2-client-core
+ */
+ exit(-PVFS_ENODEV);
#ifdef __PVFS2_JOB_THREADED__
gossip_err("dev_thread_function thread terminating\n");
break;
More information about the PVFS2-CVS
mailing list