Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- change the OST / MDT thread names to also include the host pid
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
service.c
diff --git
a/lustre/ptlrpc/service.c
b/lustre/ptlrpc/service.c
index
e80a8de
..
5e6a626
100644
(file)
--- a/
lustre/ptlrpc/service.c
+++ b/
lustre/ptlrpc/service.c
@@
-249,7
+249,12
@@
static int ptlrpc_main(void *arg)
spin_unlock_irq(¤t->sigmask_lock);
#endif
+#ifdef __arch_um__
+ sprintf(current->comm, "%s|%d",
+ data->name, current->thread.extern_pid);
+#else
strcpy(current->comm, data->name);
+#endif
unlock_kernel();
OBD_ALLOC(event, sizeof(*event));