[Pvfs2-cvs] commit by pcarns in pvfs2-1/src/apps/kernel/linux: pvfs2-client-core.c

CVS commit program cvs at parl.clemson.edu
Tue May 13 10:08:07 EDT 2008


Update of /projects/cvsroot/pvfs2-1/src/apps/kernel/linux
In directory parlweb1:/tmp/cvs-serv21854

Modified Files:
	pvfs2-client-core.c 
Log Message:
apply umount fix to runtime param operations


Index: pvfs2-client-core.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/apps/kernel/linux/pvfs2-client-core.c,v
diff -p -u -r1.96 -r1.97
--- pvfs2-client-core.c	13 May 2008 14:04:01 -0000	1.96
+++ pvfs2-client-core.c	13 May 2008 14:08:07 -0000	1.97
@@ -1271,6 +1271,7 @@ static PVFS_error service_param_request(
         vfs_request->in_upcall.req.param.op);
 
     vfs_request->out_downcall.type = vfs_request->in_upcall.type;
+    vfs_request->op_id = -1;
 
     switch(vfs_request->in_upcall.req.param.op)
     {
@@ -1337,7 +1338,6 @@ static PVFS_error service_param_request(
                     vfs_request->in_upcall.req.param.value;
             }    
             vfs_request->out_downcall.status = 0;
-            write_inlined_device_response(vfs_request);
             return(0);
             break;
         case PVFS2_PARAM_REQUEST_OP_PERF_HISTORY_SIZE:
@@ -1359,7 +1359,6 @@ static PVFS_error service_param_request(
                     ncache_pc, PINT_PERF_HISTORY_SIZE, tmp_perf_val);
             }    
             vfs_request->out_downcall.status = ret;
-            write_inlined_device_response(vfs_request);
             return(0);
             break;
         case PVFS2_PARAM_REQUEST_OP_PERF_RESET:
@@ -1372,7 +1371,6 @@ static PVFS_error service_param_request(
             }    
             vfs_request->out_downcall.resp.param.value = 0;
             vfs_request->out_downcall.status = 0;
-            write_inlined_device_response(vfs_request);
             return(0);
             break;
     }
@@ -1381,7 +1379,6 @@ static PVFS_error service_param_request(
     {
         /* unsupported request, didn't match anything in case statement */
         vfs_request->out_downcall.status = -PVFS_ENOSYS;
-        write_inlined_device_response(vfs_request);
         return 0;
     }
 
@@ -1416,7 +1413,6 @@ static PVFS_error service_param_request(
                 PINT_ncache_set_info(tmp_param, val);
         }
     }
-    write_inlined_device_response(vfs_request);
     return 0;
 }
 #undef ACACHE 
@@ -2668,6 +2664,7 @@ static inline void package_downcall_memb
         }
         case PVFS2_VFS_OP_FS_UMOUNT:
         case PVFS2_VFS_OP_PERF_COUNT:
+        case PVFS2_VFS_OP_PARAM:
             break;
         default:
             gossip_err("Completed upcall of unknown type %x!\n",



More information about the Pvfs2-cvs mailing list