summaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorLi Xi <lixi@ddn.com>2015-02-01 21:52:02 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-07 17:27:16 +0800
commit4d2c7b309d17a5609a5d4ede628d16828262ca00 (patch)
tree81cfa5759ce630b393f3805f539f2998f2b48a0a /net/switchdev/switchdev.c
parentc00266e369b945945316dad3869342d07f4be868 (diff)
staging/lustre/ldlm: high load because of negative timeout
When the time of LRU resizing exceeds waiting period of recalculation, the ldlm daemon will keep on resizing without any interval of rest. That will cause high CPU load. This patch fixes the problem by setting the recalculation timestamp after LRU resizing finishes rather than before it. What is more, an interval of one second is enforced between each recalculation. Signed-off-by: Li Xi <lixi@ddn.com> Reviewed-on: http://review.whamcloud.com/11227 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5415 Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: Bobi Jam <bobijam@gmail.com> Reviewed-by: Lai Siyao <lai.siyao@intel.com> Signed-off-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions