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:
ef9da5c
)
b=21355 fix initiailzation of recovery thread
author
Jay Xiong
<Jinshan.Xiong@Sun.COM>
Wed, 3 Feb 2010 03:13:22 +0000
(11:13 +0800)
committer
Robert Read
<rread@sun.com>
Wed, 3 Feb 2010 19:54:43 +0000
(11:54 -0800)
Recovery thread calls cfs_daemonize() to detach the thread context, this causes all recovery threads share a common fs_struct: init_fs. We should call cfs_daemonize_ctxt() instead.
i=wangdi
i=tappro
lustre/ldlm/ldlm_lib.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_lib.c
b/lustre/ldlm/ldlm_lib.c
index
a722ff2
..
d683bae
100644
(file)
--- a/
lustre/ldlm/ldlm_lib.c
+++ b/
lustre/ldlm/ldlm_lib.c
@@
-1714,7
+1714,7
@@
static int target_recovery_thread(void *arg)
int rc = 0;
ENTRY;
- cfs_daemonize("tgt_recov");
+ cfs_daemonize
_ctxt
("tgt_recov");
SIGNAL_MASK_LOCK(current, flags);
sigfillset(¤t->blocked);