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

git: DragonFly_RELEASE_2_8 kernel - Force NFSv3 for diskless nfs mount


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 24 Oct 2010 09:38:15 -0700 (PDT)

commit 49adb6c748d3c692fedafe145ffec6413f741019
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/49adb6c748d3c692fedafe145ffec6413f741019


-- 
DragonFly BSD source repository



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