git: kernel - Force NFSv3 for diskless nfs mount
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    Tue Oct 19 12:36:05 PDT 2010
    
    
  
commit 226341c188c0178e63bdba02936996e0370fa1c8
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Oct 19 12:31:29 2010 -0700
    kernel - Force NFSv3 for diskless nfs mount
    
    * Ignore any file handles passed from bootp.  These are NFSv2 handles
      and NFSv2 just doesn't have the directory support needed if the
      server is running a filesystem with 64-bit directory cookies (as HAMMER
      does).
    
      This will force the kernel's diskless nfs mount to re-authorize and
      acquire a NFSv3 handle for the root mount.
    
    * Undo a bit of a previous commit where I tried to enable readdirplus for
      NFSv2 to workaround NFSv2 directory cookie issues.  It just doesn't work.
      readdirplus is again force-disabled for NFSv2 mounts.
Summary of changes:
 sys/vfs/nfs/nfs_vfsops.c |   55 ++++++++++++++++++++++++++++++----------------
 sys/vfs/nfs/nfs_vnops.c  |    2 +-
 2 files changed, 37 insertions(+), 20 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/226341c188c0178e63bdba02936996e0370fa1c8
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list