aboutsummaryrefslogtreecommitdiff
path: root/include/asm-powerpc/sembuf.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-05-05 11:45:41 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-05-16 09:43:21 -0700
commitb0b539739fe9b7d75002412a787cfdf4efddbc33 (patch)
tree0b20f42bb8cdef9bba26c7ca0e4afe883e5c9c25 /include/asm-powerpc/sembuf.h
parentf26a3988917913b3d11b2bd741601a2c64ab9204 (diff)
NFS: Ensure that 'noac' and/or 'actimeo=0' turn off attribute caching
Both the 'noac' and 'actimeo=0' mount options should ensure that attributes are not cached, however a bug in nfs_attribute_timeout() means that currently, the attributes may in fact get cached for up to one jiffy. This has been seen to cause corruption in some applications. The reason for the bug is that the time_in_range() test returns 'true' as long as the current time lies between nfsi->read_cache_jiffies and nfsi->read_cache_jiffies + nfsi->attrtimeo. In other words, if jiffies equals nfsi->read_cache_jiffies, then we still cache the attribute data. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/asm-powerpc/sembuf.h')
0 files changed, 0 insertions, 0 deletions