opnsense-src/sys/fs
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
..
cd9660 Fix comments and one resulting code confusion about the type of the 2002-10-16 08:04:11 +00:00
coda Back our kernel support for reliable signal queues. 2002-10-01 17:15:53 +00:00
deadfs Fix comments and one resulting code confusion about the type of the 2002-10-16 08:04:11 +00:00
devfs Slightly change the semantics of vnode labels for MAC: rather than 2002-10-26 14:38:24 +00:00
fdescfs Remove any VOP_PRINT that redundantly prints the tag. 2002-09-18 20:42:04 +00:00
fifofs Fix comments and one resulting code confusion about the type of the 2002-10-16 08:04:11 +00:00
hpfs Regularize the vop_stdlock'ing protocol across all the filesystems 2002-10-14 03:20:36 +00:00
msdosfs Grrr, s/PBP/BPB/ here as well. 2002-10-21 20:52:51 +00:00
ntfs Regularize the vop_stdlock'ing protocol across all the filesystems 2002-10-14 03:20:36 +00:00
nullfs Be consistent about functions being static. 2002-10-16 08:00:32 +00:00
nwfs Regularize the vop_stdlock'ing protocol across all the filesystems 2002-10-14 03:20:36 +00:00
portalfs Fix a warning on 64 bits platforms: copyinstr() takes 2002-10-06 11:45:22 +00:00
procfs Slightly change the semantics of vnode labels for MAC: rather than 2002-10-26 14:38:24 +00:00
pseudofs Slightly change the semantics of vnode labels for MAC: rather than 2002-10-26 14:38:24 +00:00
smbfs Regularize the vop_stdlock'ing protocol across all the filesystems 2002-10-14 03:20:36 +00:00
specfs Within ufs, the ffs_sync and ffs_fsync functions did not always 2002-10-25 00:20:37 +00:00
udf Regularize the vop_stdlock'ing protocol across all the filesystems 2002-10-14 03:20:36 +00:00
umapfs umap_sync is empty and is identical to vfs_stdsync. Remove it and 2002-10-19 22:22:42 +00:00
unionfs Fix comments and one resulting code confusion about the type of the 2002-10-16 08:04:11 +00:00