[Pvfs2-cvs] commit by kunkel in pvfs2/src/kernel/linux-2.6: upcall.h waitqueue.c

CVS commit program cvs at parl.clemson.edu
Tue Aug 22 06:54:19 EDT 2006


Update of /projects/cvsroot/pvfs2/src/kernel/linux-2.6
In directory parlweb1:/tmp/cvs-serv29962/src/kernel/linux-2.6

Modified Files:
      Tag: kunkel-branch
	upcall.h waitqueue.c 
Log Message:
Added tool which prints file mapping to server aliases. Added 
experimental stubs for migration tools. Added kernel tgid to request ID.
Bugfix of PINT_cached_config_get_one_server_str.


Index: upcall.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/kernel/linux-2.6/upcall.h,v
diff -p -u -r1.33.12.2 -r1.33.12.3
--- upcall.h	21 Aug 2006 09:29:30 -0000	1.33.12.2
+++ upcall.h	22 Aug 2006 10:54:19 -0000	1.33.12.3
@@ -204,6 +204,7 @@ typedef struct
     int32_t __pad1;
     PVFS_credentials credentials;
     int pid;
+    int tgid;
 
     union
     {

Index: waitqueue.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/kernel/linux-2.6/waitqueue.c,v
diff -p -u -r1.23.2.4 -r1.23.2.5
--- waitqueue.c	21 Aug 2006 09:29:30 -0000	1.23.2.4
+++ waitqueue.c	22 Aug 2006 10:54:19 -0000	1.23.2.5
@@ -56,6 +56,11 @@ int service_operation(
     sigset_t orig_sigset; 
     int ret = 0;
     op->upcall.pid = current->pid;
+#ifdef PVFS2_LINUX_KERNEL_2_4
+    op->upcall.tgid = -1;
+#else
+    op->upcall.tgid = current->tgid;
+#endif
 
 retry_servicing:
     op->downcall.status = 0;



More information about the Pvfs2-cvs mailing list