Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: basesrc
Module Name: basesrc
Committed By: bouyer
Date: Wed Jun 7 14:34:41 UTC 2000
Modified Files:
basesrc/usr.sbin/rpc.lockd: Makefile lock_proc.c lockd.c lockd.h
rpc.lockd.8
Added Files:
basesrc/usr.sbin/rpc.lockd: lockd_lock.c lockd_lock.h
Log Message:
Implement file locking in lockd. All the stuff is done in userland, using
fhopen() and flock(). This means that if you kill lockd, all locks will
be relased (but you're supposed to kill statd at the same time, so
remote hosts will know it and re-establish the lock).
Tested against solaris 2.7 and linux 2.2.14 clients.
Shared lock are not handled efficiently, they're serialised in lockd when they
could be granted.
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 basesrc/usr.sbin/rpc.lockd/Makefile
cvs rdiff -r1.3 -r1.4 basesrc/usr.sbin/rpc.lockd/lock_proc.c \
basesrc/usr.sbin/rpc.lockd/rpc.lockd.8
cvs rdiff -r1.4 -r1.5 basesrc/usr.sbin/rpc.lockd/lockd.c
cvs rdiff -r1.1 -r1.2 basesrc/usr.sbin/rpc.lockd/lockd.h
cvs rdiff -r0 -r1.1 basesrc/usr.sbin/rpc.lockd/lockd_lock.c \
basesrc/usr.sbin/rpc.lockd/lockd_lock.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