| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
'RELENG_5_5_0_RELEASE'.
This commit was manufactured to restore the state of the 5.5-RELEASE image.
|
|
|
|
|
|
|
|
|
| |
Remove basically unused root_vp pointer in udfmount.
Discussed with: scottl
Notes:
svn path=/stable/5/; revision=142494
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and refuse initializing filesystems with a wrong version. This will
aid maintenance activites on the 5-stable branch.
s/vfs_mount/vfs_omount/
s/vfs_nmount/vfs_mount/
Name our filesystems mount function consistently.
Eliminate the namiedata argument to both vfs_mount and vfs_omount.
It was originally there to save stack space. A few places abused
it to get hold of some credentials to pass around. Effectively
it is unused.
Reorganize the root filesystem selection code.
Notes:
svn path=/head/; revision=132902
|
|
|
|
|
|
|
|
|
| |
This is to allow filesystems to decide based on the passed thread
which vnode to return.
Several filesystems used curthread, they now use the passed thread.
Notes:
svn path=/head/; revision=132023
|
|
|
|
| |
Notes:
svn path=/head/; revision=130986
|
|
|
|
|
|
|
|
|
| |
the *bp.
Obtained from: DragonFlyBSD
Notes:
svn path=/head/; revision=127603
|
|
|
|
|
|
|
| |
Submitted by: imura@ryu16.org
Notes:
svn path=/head/; revision=122102
|
|
|
|
|
|
|
|
|
|
| |
ushort. In most of these files, there was a mixture of both styles and
this change just makes them self-consistent.
Requested by: bde (kern_ktrace.c)
Notes:
svn path=/head/; revision=118607
|
|
|
|
|
|
|
|
|
|
|
|
| |
contain the filedescriptor number on opens from userland.
The index is used rather than a "struct file *" since it conveys a bit
more information, which may be useful to in particular fdescfs and /dev/fd/*
For now pass -1 all over the place.
Notes:
svn path=/head/; revision=118047
|
|
|
|
|
|
|
|
| |
Submitted by: hmp
Reviewed by: phk
Notes:
svn path=/head/; revision=116271
|
|
|
|
| |
Notes:
svn path=/head/; revision=114653
|
|
|
|
| |
Notes:
svn path=/head/; revision=114632
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
closely what function is really doing. Update all existing consumers
to use the new name.
Introduce a new vfs_stdsync function, which iterates over mount
point's vnodes and call FSYNC on each one of them in turn.
Make nwfs and smbfs use this new function instead of rolling their
own identical sync implementations.
Reviewed by: jeff
Notes:
svn path=/head/; revision=112119
|
|
|
|
|
|
|
| |
Approved by: trb
Notes:
svn path=/head/; revision=111119
|
|
|
|
|
|
|
| |
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
Notes:
svn path=/head/; revision=109623
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that use it. Specifically, vop_stdlock uses the lock pointed to by
vp->v_vnlock. By default, getnewvnode sets up vp->v_vnlock to
reference vp->v_lock. Filesystems that wish to use the default
do not need to allocate a lock at the front of their node structure
(as some still did) or do a lockinit. They can simply start using
vn_lock/VOP_UNLOCK. Filesystems that wish to manage their own locks,
but still use the vop_stdlock functions (such as nullfs) can simply
replace vp->v_vnlock with a pointer to the lock that they wish to
have used for the vnode. Such filesystems are responsible for
setting the vp->v_vnlock back to the default in their vop_reclaim
routine (e.g., vp->v_vnlock = &vp->v_lock).
In theory, this set of changes cleans up the existing filesystem
lock interface and should have no function change to the existing
locking scheme.
Sponsored by: DARPA & NAI Labs.
Notes:
svn path=/head/; revision=105077
|
|
|
|
|
|
|
|
|
| |
Significantly de-obfuscate udf_lookup
Inspired By: tes@sgi.com
Notes:
svn path=/head/; revision=101890
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- v_vflag is protected by the vnode lock and is used when synchronization
with VOP calls is needed.
- v_iflag is protected by interlock and is used for dealing with vnode
management issues. These flags include X/O LOCK, FREE, DOOMED, etc.
- All accesses to v_iflag and v_vflag have either been locked or marked with
mp_fixme's.
- Many ASSERT_VOP_LOCKED calls have been added where the locking was not
clear.
- Many functions in vfs_subr.c were restructured to provide for stronger
locking.
Idea stolen from: BSD/OS
Notes:
svn path=/head/; revision=101308
|
|
|
|
|
|
|
| |
declared. Remove duplicate includes.
Notes:
svn path=/head/; revision=100164
|
|
|
|
|
|
|
| |
Reviewed by: scottl
Notes:
svn path=/head/; revision=98265
|
|
|
|
| |
Notes:
svn path=/head/; revision=94795
|
|
Notes:
svn path=/head/; revision=94663
|