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-6245 libcfs: remove prim wrappers for libcfs
[fs/lustre-release.git]
/
lnet
/
klnds
/
gnilnd
/
gnilnd_sysctl.c
diff --git
a/lnet/klnds/gnilnd/gnilnd_sysctl.c
b/lnet/klnds/gnilnd/gnilnd_sysctl.c
index
39613d4
..
aae29d5
100644
(file)
--- a/
lnet/klnds/gnilnd/gnilnd_sysctl.c
+++ b/
lnet/klnds/gnilnd/gnilnd_sysctl.c
@@
-131,7
+131,8
@@
proc_trigger_stack_reset(struct ctl_table *table, int write,
i++;
LCONSOLE((((i) & (-i)) == i) ? D_WARNING : D_NET,
"Waiting for stack reset request to clear\n");
- cfs_pause(cfs_time_seconds(1 * i));
+ set_current_state(TASK_UNINTERRUPTIBLE);
+ schedule_timeout(cfs_time_seconds(1 * i));
}
RETURN(rc);