]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: ldlm: Recalculate interval in ldlm_pool_recalc()
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Sun, 18 Sep 2016 20:38:27 +0000 (16:38 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Sep 2016 07:53:45 +0000 (09:53 +0200)
commitdd61263e5e54f990afa6d4c9e656e67102ae0d84
treefa82b0ff82b44fcb14388b5a0c4837bdd92844bf
parent1c2efd639d7f24e369be0f6d95cbf0f799691714
staging: lustre: ldlm: Recalculate interval in ldlm_pool_recalc()

Instead of rechecking a static value, recalculate to see if pool stats
need to be updated.
Add newline so message will print instead of warning about missing
newline.

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4536
Reviewed-on: http://review.whamcloud.com/12547
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ldlm/ldlm_pool.c