cvs commit: src/sys/conf files src/sys/kern kern_lockf.c
src/sys/modules/nfslockd Makefile src/sys/nfsclient nfs.h
nfs_node.c nfs_vfsops.c nfs_vnops.c nfsmount.h nfsnode.h
src/sys/nlm nlm.h nlm_advlock.c nlm_prot.h nlm_prot_clnt.c ...
Doug Rabson
dfr at FreeBSD.org
Thu Jun 26 10:27:10 UTC 2008
dfr 2008-06-26 10:21:54 UTC
FreeBSD src repository
Modified files:
sys/conf files
sys/kern kern_lockf.c
sys/modules/nfslockd Makefile
sys/nfsclient nfs.h nfs_node.c nfs_vfsops.c nfs_vnops.c
nfsmount.h nfsnode.h
sys/nlm nlm.h nlm_prot.h nlm_prot_clnt.c
nlm_prot_impl.c nlm_prot_server.c
sys/rpc auth_unix.c authunix_prot.c clnt.h
clnt_dg.c clnt_rc.c clnt_vc.c svc_vc.c
sys/sys fcntl.h lockf.h param.h
tools/regression/file/flock flock.c
usr.sbin/rpc.lockd lockd.c
usr.sbin/rpc.statd file.c
Added files:
sys/nlm nlm_advlock.c
Log:
SVN rev 180025 on 2008-06-26 10:21:54Z by dfr
Re-implement the client side of rpc.lockd in the kernel. This implementation
provides the correct semantics for flock(2) style locks which are used by the
lockf(1) command line tool and the pidfile(3) library. It also implements
recovery from server restarts and ensures that dirty cache blocks are written
to the server before obtaining locks (allowing multiple clients to use file
locking to safely share data).
Sponsored by: Isilon Systems
PR: 94256
MFC after: 2 weeks
Revision Changes Path
1.1312 +1 -0 src/sys/conf/files
1.65 +110 -26 src/sys/kern/kern_lockf.c
1.2 +1 -0 src/sys/modules/nfslockd/Makefile
1.100 +1 -0 src/sys/nfsclient/nfs.h
1.89 +7 -0 src/sys/nfsclient/nfs_node.c
1.206 +7 -0 src/sys/nfsclient/nfs_vfsops.c
1.286 +9 -2 src/sys/nfsclient/nfs_vnops.c
1.34 +1 -0 src/sys/nfsclient/nfsmount.h
1.63 +3 -0 src/sys/nfsclient/nfsnode.h
1.2 +120 -24 src/sys/nlm/nlm.h
1.1 +1235 -0 src/sys/nlm/nlm_advlock.c (new)
1.2 +39 -39 src/sys/nlm/nlm_prot.h
1.3 +117 -120 src/sys/nlm/nlm_prot_clnt.c
1.10 +549 -176 src/sys/nlm/nlm_prot_impl.c
1.3 +66 -112 src/sys/nlm/nlm_prot_server.c
1.3 +95 -32 src/sys/rpc/auth_unix.c
1.3 +5 -0 src/sys/rpc/authunix_prot.c
1.2 +88 -10 src/sys/rpc/clnt.h
1.3 +146 -72 src/sys/rpc/clnt_dg.c
1.4 +90 -13 src/sys/rpc/clnt_rc.c
1.3 +96 -42 src/sys/rpc/clnt_vc.c
1.3 +36 -13 src/sys/rpc/svc_vc.c
1.22 +1 -0 src/sys/sys/fcntl.h
1.23 +5 -0 src/sys/sys/lockf.h
1.358 +1 -1 src/sys/sys/param.h
1.3 +182 -50 src/tools/regression/file/flock/flock.c
1.29 +62 -45 src/usr.sbin/rpc.lockd/lockd.c
1.9 +30 -0 src/usr.sbin/rpc.statd/file.c
More information about the cvs-src
mailing list