Source-Changes archive

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

CVS commit: [kqueue] syssrc/sys/nfs



Module Name:    syssrc
Committed By:   jdolecek
Date:           Mon Sep 30 20:43:51 UTC 2002

Modified Files:
        syssrc/sys/nfs [kqueue]: files.nfs nfs_bio.c nfs_subs.c nfs_var.h
            nfs_vnops.c nfsnode.h
Added Files:
        syssrc/sys/nfs [kqueue]: nfs_kq.c

Log Message:
add support for kevents to NFS
to detect file changes on server by other NFS clients, polling kernel thread
is used to periodically check for attribute changes of watched files;
the NFS server is only contacted when the vnode expires from local attrcache
(which takes 5-60 seconds currently), to keep network&CPU overhead low

the routine checking for remote changes is quite simplistic, but hopefully
doing it's job well enough


To generate a diff of this commit:
cvs rdiff -r1.1.8.1 -r1.1.8.2 syssrc/sys/nfs/files.nfs
cvs rdiff -r1.68.2.4 -r1.68.2.5 syssrc/sys/nfs/nfs_bio.c
cvs rdiff -r0 -r1.1.2.1 syssrc/sys/nfs/nfs_kq.c
cvs rdiff -r1.95.2.5 -r1.95.2.6 syssrc/sys/nfs/nfs_subs.c
cvs rdiff -r1.19.4.3 -r1.19.4.4 syssrc/sys/nfs/nfs_var.h
cvs rdiff -r1.134.2.7 -r1.134.2.8 syssrc/sys/nfs/nfs_vnops.c
cvs rdiff -r1.33.2.1 -r1.33.2.2 syssrc/sys/nfs/nfsnode.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index