Whamcloud - gitweb
b=21882 lru resize SLV can get stuck
authorVitaly Fertman <Vitaly.Fertman@Sun.COM>
Thu, 11 Feb 2010 20:39:33 +0000 (12:39 -0800)
committerRobert Read <rread@sun.com>
Thu, 11 Feb 2010 20:39:33 +0000 (12:39 -0800)
commit3b3076ac2c58c5dec52aa9717fd1dfd1ebca5930
treeb225a8f8bad0e585c2eef6aa74e9f4d46dcb5590
parent744f5f8e6d8b902953431b0a39542b86c09275b1
b=21882 lru resize SLV can get stuck

calculate SLV with a greater precision to not lose small changes due to interger math truncation;
round up SLV only if the amount of granted locks less than the limit to not get stuck with this SLV

i-adilger
i=green
lustre/include/lustre_dlm.h
lustre/ldlm/ldlm_pool.c