1. 20 12月, 2016 1 次提交
    • T
      NFSv4: Update the attribute cache info in update_changeattr · e603a4c1
      Trond Myklebust 提交于
      If we successfully updated the change attribute, we should timestamp the
      cache. While we do know that the other attributes are not completely up
      to date, we have the NFS_INO_INVALID_ATTR flag that let us know that,
      so it is valid to say that the cache has not timed out.
      We can also clear NFS_INO_REVAL_PAGECACHE, since our change attribute
      is now known to be valid.
      
      Conversely, if the change attribute did not match, we should make sure to
      also revalidate the access and ACL caches.
      Signed-off-by: NTrond Myklebust <trond.myklebust@primarydata.com>
      e603a4c1
  2. 10 12月, 2016 1 次提交
  3. 08 12月, 2016 2 次提交
  4. 05 12月, 2016 1 次提交
  5. 03 12月, 2016 1 次提交
  6. 02 12月, 2016 13 次提交
  7. 22 11月, 2016 1 次提交
  8. 19 11月, 2016 3 次提交
  9. 20 10月, 2016 1 次提交
  10. 08 10月, 2016 1 次提交
  11. 05 10月, 2016 1 次提交
    • D
      fs: nfs: Make nfs boot time y2038 safe · 2f86e091
      Deepa Dinamani 提交于
      boot_time is represented as a struct timespec.
      struct timespec and CURRENT_TIME are not y2038 safe.
      Overall, the plan is to use timespec64 and ktime_t for
      all internal kernel representation of timestamps.
      CURRENT_TIME will also be removed.
      
      boot_time is used to construct the nfs client boot verifier.
      
      Use ktime_t to represent boot_time and ktime_get_real() for
      the boot_time value.
      
      Following Trond's request https://lkml.org/lkml/2016/6/9/22 ,
      use ktime_t instead of converting to struct timespec64.
      
      Use higher and lower 32 bit parts of ktime_t for the boot
      verifier.
      
      Use the lower 32 bit part of ktime_t for the authsys_parms
      stamp field.
      Signed-off-by: NDeepa Dinamani <deepa.kernel@gmail.com>
      Reviewed-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Trond Myklebust <trond.myklebust@primarydata.com>
      Cc: Anna Schumaker <anna.schumaker@netapp.com>
      Cc: linux-nfs@vger.kernel.org
      Signed-off-by: NAnna Schumaker <Anna.Schumaker@Netapp.com>
      2f86e091
  12. 30 9月, 2016 1 次提交
  13. 28 9月, 2016 13 次提交