From: Trond Myklebust Date: Tue, 14 Oct 2008 23:16:07 +0000 (-0400) Subject: NFS: Fix the resolution problem with nfs_inode_attrs_need_update() X-Git-Tag: v2.6.28-rc1~266^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4704f0e274829e3af00737d2d9adace2d71a9605;p=pandora-kernel.git NFS: Fix the resolution problem with nfs_inode_attrs_need_update() It appears that 'jiffies' timestamps do not have high enough resolution for nfs_inode_attrs_need_update(). One problem is that a GETATTR can be launched within < 1 jiffy of the last operation that updated the attribute. Another problem is that RPC calls can take < 1 jiffy to execute. We can fix this by switching the variables to use a simple global counter that gets incremented every time we start another GETATTR call. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed