Whamcloud - gitweb
b=21882 lru resize SLV can get stuck
authorVitaly Fertman <Vitaly.Fertman@Sun.COM>
Wed, 10 Feb 2010 16:11:32 +0000 (19:11 +0300)
committerJohann Lombardi <johann@sun.com>
Wed, 10 Feb 2010 18:25:07 +0000 (19:25 +0100)
commit3ab9f08450d709f4b3d294771f9613c53aba4712
treef363a08ad175e9433fc46307ee38a0a5234e6be6
parentadc59d1b28f5c542efaea8365c24ab0df4db54a3
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