freebsd-skq/sys/fs/pseudofs
Robert Watson 763bbd2f4f Slightly change the semantics of vnode labels for MAC: rather than
"refreshing" the label on the vnode before use, just get the label
right from inception.  For single-label file systems, set the label
in the generic VFS getnewvnode() code; for multi-label file systems,
leave the labeling up to the file system.  With UFS1/2, this means
reading the extended attribute during vfs_vget() as the inode is
pulled off disk, rather than hitting the extended attributes
frequently during operations later, improving performance.  This
also corrects sematics for shared vnode locks, which were not
previously present in the system.  This chances the cache
coherrency properties WRT out-of-band access to label data, but in
an acceptable form.  With UFS1, there is a small race condition
during automatic extended attribute start -- this is not present
with UFS2, and occurs because EAs aren't available at vnode
inception.  We'll introduce a work around for this shortly.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-26 14:38:24 +00:00
..
pseudofs_fileno.c Gratuitous whitespace cleanup. 2002-06-06 16:59:24 +00:00
pseudofs_internal.h [the previous commit to pseudofs_vncache.c got the wrong log message] 2001-10-01 04:26:33 +00:00
pseudofs_vncache.c Plug an infrequent (I think) memory leak. 2002-10-15 18:51:02 +00:00
pseudofs_vnops.c Slightly change the semantics of vnode labels for MAC: rather than 2002-10-26 14:38:24 +00:00
pseudofs.c Remove all use of vnode->v_tag, replacing with appropriate substitutes. 2002-09-14 09:02:28 +00:00
pseudofs.h Slightly change the semantics of vnode labels for MAC: rather than 2002-10-26 14:38:24 +00:00