git: DragonFly_RELEASE_2_8 kernel - Force NFSv3 for diskless nfs

看板DFBSD_commit作者時間15年前 (2010/11/20 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CvoKewq (DFBSD_commit)