Skip to content
Snippets Groups Projects
Commit 89c756f4 authored by Elena Gryaznova's avatar Elena Gryaznova
Browse files

b=16313

i=Yury.Umanets
cancel_lru_locks fix
parent b5cad8e9
No related branches found
No related tags found
No related merge requests found
......@@ -1186,8 +1186,10 @@ set_nodes_failloc () {
cancel_lru_locks() {
$LCTL mark "cancel_lru_locks $1 start"
lctl set_param ldlm.namespaces.*$1*.lru_size=0
lctl get_param ldlm.namespaces.*$1*.lock_unused_count | grep -v '=0'
for d in `lctl get_param -N ldlm.namespaces.*.lru_size | egrep -i $1`; do
$LCTL set_param -n $d=clear
done
$LCTL get_param ldlm.namespaces.*.lock_unused_count | egrep -i $1 | grep -v '=0'
$LCTL mark "cancel_lru_locks $1 stop"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment