freebsd-skq/sys/nfsclient
Boris Popov 67e871664b Add a lock structure to vnode structure. Previously it was either allocated
separately (nfs, cd9660 etc) or keept as a first element of structure
referenced by v_data pointer(ffs). Such organization leads to known problems
with stacked filesystems.

From this point vop_no*lock*() functions maintain only interlock lock.
vop_std*lock*() functions maintain built-in v_lock structure using lockmgr().
vop_sharedlock() is compatible with vop_stdunlock(), but maintains a shared
lock on vnode.

If filesystem wishes to export lockmgr compatible lock, it can put an address
of this lock to v_vnlock field. This indicates that the upper filesystem
can take advantage of it and use single lock structure for entire (or part)
of stack of vnodes. This field shouldn't be examined or modified by VFS code
except for initialization purposes.

Reviewed in general by:	mckusick
2000-09-25 15:24:04 +00:00
..
bootp_subr.c Correctly set the Maximum DHCP Message Size. bootpd now works 2000-06-13 09:32:09 +00:00
krpc_subr.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
krpc.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nfs_bio.c Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
nfs_nfsiod.c Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
nfs_node.c Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nfs_socket.c Add a sysctl to specify the amount of UDP receive space NFS should 2000-03-27 21:38:35 +00:00
nfs_subs.c This patch corrects the first round of panics and hangs reported 2000-07-24 05:28:33 +00:00
nfs_vfsops.c Don't scan for the "right" network interface by shooting in the dark. 2000-09-05 22:29:36 +00:00
nfs_vnops.c Add a lock structure to vnode structure. Previously it was either allocated 2000-09-25 15:24:04 +00:00
nfs.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nfsargs.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nfsdiskless.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nfsm_subs.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nfsmount.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nfsnode.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nfsstats.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00