From: Oleg Drokin Date: Thu, 7 Mar 2013 06:47:22 +0000 (-0500) Subject: LU-2924 ldlm: split client namespaces into active and inactive X-Git-Tag: 2.4.51~44 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=2e8cb4758f357163fc9506794fd9923f2dc78380;hp=2e8cb4758f357163fc9506794fd9923f2dc78380 LU-2924 ldlm: split client namespaces into active and inactive The main reason behind this is ldlm_poold walks all namespaces currently no matter if there are any locks or not. On large systems this could take quite a bit of time, esp. since ldlm_poold is currently woken up once per second. Now every time a client namespace loses it's last resource it is placed into an inactive list that is not touched by ldlm_poold as pointless. On creation of a first resource in a namespace it is placed back into the active list. Change-Id: I15d9b731d922e073eb9e273c3e19e84cab377916 Signed-off-by: Oleg Drokin Reviewed-on: http://review.whamcloud.com/5624 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Hiroya Nozaki Reviewed-by: Niu Yawei ---