Commit dc06bc21 authored by Vitaly Fertman's avatar Vitaly Fertman Committed by Greg Kroah-Hartman

staging: lustre: ldlm: reduce ldlm pool recalc window

Reduce the sleep period from 50 seconds down to
LDLM_POOL_CLI_DEF_RECALC_PERIOD which is 10 seconds.
Signed-off-by: default avatarVitaly Fertman <vitaly_fertman@xyratex.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3031
Xyratex-bug-id: MRP-395 MRP-1366 MRP-1366
Reviewed-by: default avatarAndriy Skulysh <Andriy_Skulysh@xyratex.com>
Reviewed-by: default avatarAlexey Lyashkov <Alexey_Lyashkov@xyratex.com>
Reviewed-on: http://review.whamcloud.com/5843Reviewed-by: default avatarJames Simmons <uja.ornl@yahoo.com>
Reviewed-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Reviewed-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 99df22b5
...@@ -900,8 +900,9 @@ static int ldlm_pools_recalc(enum ldlm_side client) ...@@ -900,8 +900,9 @@ static int ldlm_pools_recalc(enum ldlm_side client)
{ {
struct ldlm_namespace *ns; struct ldlm_namespace *ns;
struct ldlm_namespace *ns_old = NULL; struct ldlm_namespace *ns_old = NULL;
/* seconds of sleep if no active namespaces */
int time = LDLM_POOL_CLI_DEF_RECALC_PERIOD;
int nr; int nr;
int time = 50; /* seconds of sleep if no active namespaces */
/* /*
* Recalc at least ldlm_namespace_nr_read(client) namespaces. * Recalc at least ldlm_namespace_nr_read(client) namespaces.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment