DragonFly commits List (threaded) for 2009-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
DragonFly-2.3.2.66.g8684e master sys/vfs/nfs nfs.h nfs_socket.c nfs_syscalls.c nfs_vfsops.c nfsmount.h
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]