Julian,

> Index: upcall.h
> ===================================================================
> RCS file: /projects/cvsroot/pvfs2/src/kernel/linux-2.6/upcall.h,v
> diff -p -u -r1.33.12.1 -r1.33.12.2
> --- upcall.h  18 Aug 2006 05:12:15 -0000      1.33.12.1
> +++ upcall.h  21 Aug 2006 09:29:30 -0000      1.33.12.2
> @@ -203,6 +203,7 @@ typedef struct
>      int32_t type;
>      int32_t __pad1;
>      PVFS_credentials credentials;
> +    int pid;
>
>      union
>      {
>
> Index: waitqueue.c
> ===================================================================
> RCS file: /projects/cvsroot/pvfs2/src/kernel/linux-2.6/waitqueue.c,v
> diff -p -u -r1.23.2.3 -r1.23.2.4
> --- waitqueue.c       18 Aug 2006 05:12:15 -0000      1.23.2.3
> +++ waitqueue.c       21 Aug 2006 09:29:30 -0000      1.23.2.4
> @@ -55,6 +55,7 @@ int service_operation(
>  {
>      sigset_t orig_sigset;
>      int ret = 0;
> +    op->upcall.pid = current->pid;
>

Would you want to differentiate between threads and processes?
Storing current->pid will mean you cannot differentiate amongst threads...
just a thought.
Murali
_______________________________________________
Pvfs2-developers mailing list
Pvfs2-developers@beowulf-underground.org
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to