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
LU-502 don't allow to kill service threads by OOM killer.
[fs/lustre-release.git]
/
lnet
/
lnet
/
router.c
diff --git
a/lnet/lnet/router.c
b/lnet/lnet/router.c
index
7fe9a0d
..
b7d6c85
100644
(file)
--- a/
lnet/lnet/router.c
+++ b/
lnet/lnet/router.c
@@
-1003,7
+1003,7
@@
lnet_router_checker_start(void)
the_lnet.ln_rc_state = LNET_RC_STATE_RUNNING;
#ifdef __KERNEL__
the_lnet.ln_rc_state = LNET_RC_STATE_RUNNING;
#ifdef __KERNEL__
- rc =
(int)cfs_kernel
_thread(lnet_router_checker, NULL, 0);
+ rc =
cfs_create
_thread(lnet_router_checker, NULL, 0);
if (rc < 0) {
CERROR("Can't start router checker thread: %d\n", rc);
the_lnet.ln_rc_state = LNET_RC_STATE_UNLINKING;
if (rc < 0) {
CERROR("Can't start router checker thread: %d\n", rc);
the_lnet.ln_rc_state = LNET_RC_STATE_UNLINKING;