Basically, when I mount with the "noac" option, I expect all attribute
caching to be disabled, including negative dcache entries. So, this
simple fix below does that, and solves my problems I'm having in this
area (strange NFS "things". :) )
-- Steve McClure
smcclure@emc.com
----
--- dir.c.orig Sun Aug 22 12:07:21 1999
+++ dir.c Mon Aug 23 21:06:49 1999
@@ -402,6 +402,8 @@ static inline int nfs_neg_need_reval(str
if (diff < 5*60)
timeout = 1 * HZ;
+ if (timeout > NFS_ATTRTIMEO(dentry->d_parent->d_inode))
+ timeout = NFS_ATTRTIMEO(dentry->d_parent->d_inode);
return time_after(jiffies, dentry->d_time + timeout);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/