1. 17 5月, 2008 1 次提交
    • T
      NFS: Ensure that 'noac' and/or 'actimeo=0' turn off attribute caching · b0b53973
      Trond Myklebust 提交于
      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: NTrond Myklebust <Trond.Myklebust@netapp.com>
      b0b53973
  2. 16 5月, 2008 12 次提交
  3. 15 5月, 2008 27 次提交