git: kernel - Do not invalidate the vnode+children in the NFS core on ESTALE

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jul 29 15:13:33 PDT 2013


commit 863722415556119a100132fa26e28ce354c90d51
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jul 29 15:11:09 2013 -0700

    kernel - Do not invalidate the vnode+children in the NFS core on ESTALE
    
    * When NFS encounters ESTALE it would try to invalidate the related
      namecache topology in the core socket code, requiring an exclusive
      lock on related namecache entries.  This is not compatible with
      shared namecache locking because it can occur as part of any operation,
      even simple GETATTRs.
    
    * Remove the invalidation for now.  The kernel already has a high-level
      solution in place for terminal nodes but we will also need one for
      traversals.

Summary of changes:
 sys/vfs/nfs/nfs_socket.c | 6 ++++++
 1 file changed, 6 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/863722415556119a100132fa26e28ce354c90d51


-- 
DragonFly BSD source repository



More information about the Commits mailing list