DragonFly BSD
DragonFly commits List (threaded) for 2010-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Force NFSv3 for diskless nfs mount


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 19 Oct 2010 12:34:48 -0700 (PDT)

commit 226341c188c0178e63bdba02936996e0370fa1c8
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]