DragonFly-2.3.2.66.g8684e master sys/vfs/nfs nfs.h nfs_socket.c

看板DFBSD_commit作者時間16年前 (2009/07/16 11:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 8684e6f9ef55e0d000f3b02a5a1e822364ee9450 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Wed Jul 15 19:41:34 2009 -0700 NFS - Use mutex API, begin refactoring the state machine. * Use the mtx_*() API instead of roll-your-own locks for the send and receive locks. * Refactor nfs_request(). Break the procedure up into multiple pieces for upcoming nfsiod/nfsd work (as in: getting rid of them). The main thing here is to split off the 'setup', 'send', 'receive', and 'process reply' parts. This will make it easier to construct a kernel thread to i.e. just do the 'setup/send' part, and another to do the 'receive/reply' part. Summary of changes: sys/vfs/nfs/nfs.h | 32 +++++- sys/vfs/nfs/nfs_socket.c | 273 +++++++++++++++++++++++++++++--------------- sys/vfs/nfs/nfs_syscalls.c | 36 +++--- sys/vfs/nfs/nfs_vfsops.c | 3 + sys/vfs/nfs/nfsmount.h | 5 +- 5 files changed, 233 insertions(+), 116 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8684e6f9ef55e0d000f3b02a5a1e822364ee9450 -- DragonFly BSD source repository
文章代碼(AID): #1ANfVqaV (DFBSD_commit)