看板 DFBSD_commit 關於我們 聯絡資訊
commit 52e1cf57a5de67bef07f7942efb1b3c1d31d4cc3 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Wed Jul 15 23:21:34 2009 -0700 NFS - Remove old nfsiod, start adding new kernel thread infrastructure * Remove all the nfsiod junk. * Add two per-mount threads, one for reading from the socket, one for writing to the socket, in a new file nfs_iod.c * Implement a quick and dirty synchronous, single threaded nfs_doio() loop in the writer thread to test basic mechanics. Summary of changes: sys/conf/files | 1 + sys/vfs/nfs/Makefile | 2 +- sys/vfs/nfs/nfs.h | 6 +- sys/vfs/nfs/nfs_bio.c | 124 ++++------------------------------ sys/vfs/nfs/nfs_iod.c | 158 ++++++++++++++++++++++++++++++++++++++++++++ sys/vfs/nfs/nfs_kerb.c | 1 + sys/vfs/nfs/nfs_subs.c | 7 -- sys/vfs/nfs/nfs_syscalls.c | 84 +----------------------- sys/vfs/nfs/nfs_vfsops.c | 12 +++- sys/vfs/nfs/nfs_vnops.c | 3 - sys/vfs/nfs/nfsmount.h | 17 ++++- sys/vfs/nfs/nfsnode.h | 2 - 12 files changed, 206 insertions(+), 211 deletions(-) create mode 100644 sys/vfs/nfs/nfs_iod.c http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/52e1cf57a5de67bef07f7942efb1b3c1d31d4cc3 -- DragonFly BSD source repository