Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8378ec
)
Branch b1_5
author
adilger
<adilger>
Tue, 21 Mar 2006 12:22:32 +0000
(12:22 +0000)
committer
adilger
<adilger>
Tue, 21 Mar 2006 12:22:32 +0000
(12:22 +0000)
Don't use cfs_daemonize() for a thread that may be doing IO. Use
ptlrpc_daemonize() instead.
lustre/obdclass/genops.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/genops.c
b/lustre/obdclass/genops.c
index
0141aaa
..
87119ca
100644
(file)
--- a/
lustre/obdclass/genops.c
+++ b/
lustre/obdclass/genops.c
@@
-1021,8
+1021,10
@@
static int ping_evictor_main(void *arg)
ENTRY;
lock_kernel();
- cfs_daemonize("ping_evictor");
+ ptlrpc_daemonize();
+
cfs_block_allsigs();
+ THREAD_NAME(cfs_curproc_comm(), CFS_CURPROC_COMM_MAX-1, "ping_evictor");
unlock_kernel();
CDEBUG(D_HA, "Starting Ping Evictor\n");