1. 24 11月, 2015 1 次提交
  2. 18 8月, 2015 1 次提交
  3. 01 7月, 2015 1 次提交
  4. 24 4月, 2015 1 次提交
  5. 16 4月, 2015 1 次提交
  6. 04 3月, 2015 1 次提交
  7. 04 2月, 2015 2 次提交
  8. 22 1月, 2015 1 次提交
  9. 06 1月, 2015 4 次提交
  10. 26 11月, 2014 1 次提交
  11. 25 11月, 2014 1 次提交
  12. 19 9月, 2014 1 次提交
    • S
      NFSv4: nfs4_state_manager() vs. nfs_server_remove_lists() · 080af20c
      Steve Dickson 提交于
      There is a race between nfs4_state_manager() and
      nfs_server_remove_lists() that happens during a nfsv3 mount.
      
      The v3 mount notices there is already a supper block so
      nfs_server_remove_lists() called which uses the nfs_client_lock
      spin lock to synchronize access to the client list.
      
      At the same time nfs4_state_manager() is running through
      the client list looking for work to do, using the same
      lock. When nfs4_state_manager() wins the race to the
      list, a v3 client pointer is found and not ignored
      properly which causes the panic.
      
      Moving some protocol checks before the state checking
      avoids the panic.
      
      CC: Stable Tree <stable@vger.kernel.org>
      Signed-off-by: NSteve Dickson <steved@redhat.com>
      Signed-off-by: NTrond Myklebust <trond.myklebust@primarydata.com>
      080af20c
  13. 09 7月, 2014 1 次提交
  14. 19 3月, 2014 1 次提交
  15. 18 2月, 2014 1 次提交
  16. 02 2月, 2014 1 次提交
  17. 28 1月, 2014 1 次提交
    • J
      sunrpc: turn warn_gssd() log message into a dprintk() · 0ea9de0e
      Jeff Layton 提交于
      The original printk() made sense when the GSSAPI codepaths were called
      only when sec=krb5* was explicitly requested. Now however, in many cases
      the nfs client will try to acquire GSSAPI credentials by default, even
      when it's not requested.
      
      Since we don't have a great mechanism to distinguish between the two
      cases, just turn the pr_warn into a dprintk instead. With this change we
      can also get rid of the ratelimiting.
      
      We do need to keep the EXPORT_SYMBOL(gssd_running) in place since
      auth_gss.ko needs it and sunrpc.ko provides it. We can however,
      eliminate the gssd_running call in the nfs code since that's a bit of a
      layering violation.
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NTrond Myklebust <trond.myklebust@primarydata.com>
      0ea9de0e
  18. 21 1月, 2014 1 次提交
  19. 19 1月, 2014 1 次提交
  20. 07 12月, 2013 1 次提交
  21. 29 10月, 2013 7 次提交
  22. 02 10月, 2013 1 次提交
  23. 08 9月, 2013 2 次提交
  24. 07 9月, 2013 1 次提交
    • A
      NFSv4.1 Use MDS auth flavor for data server connection · 0e20162e
      Andy Adamson 提交于
      Commit 4edaa308 "NFS: Use "krb5i" to establish NFSv4 state whenever possible"
      uses the nfs_client cl_rpcclient for all state management operations, and
      will use krb5i or auth_sys with no regard to the mount command authflavor
      choice.
      
      The MDS, as any NFSv4.1 mount point, uses the nfs_server rpc client for all
      non-state management operations with a different nfs_server for each fsid
      encountered traversing the mount point, each with a potentially different
      auth flavor.
      
      pNFS data servers are not mounted in the normal sense as there is no associated
      nfs_server structure. Data servers can also export multiple fsids, each with
      a potentially different auth flavor.
      
      Data servers need to use the same authflavor as the MDS server rpc client for
      non-state management operations. Populate a list of rpc clients with the MDS
      server rpc client auth flavor for the DS to use.
      Signed-off-by: NAndy Adamson <andros@netapp.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      0e20162e
  25. 04 9月, 2013 1 次提交
  26. 08 8月, 2013 1 次提交
  27. 29 6月, 2013 2 次提交
  28. 09 6月, 2013 1 次提交