#
d83b7498 |
| 27-Oct-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Eliminate unnecessary KASSERTs.
Don't use bp->b_vp in VOP_STRATEGY: the vnode is passed in as an argument.
|
#
bf1c3ddd |
| 23-Jun-2004 |
Scott Long <scottl@FreeBSD.org> |
Make the udf_vnops side endian clean.
|
#
89ec2c3c |
| 23-Jun-2004 |
Scott Long <scottl@FreeBSD.org> |
First half of making UDF be endian-clean. This addresses the vfsops side.
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
#
744bb56d |
| 30-Mar-2004 |
Scott Long <scottl@FreeBSD.org> |
Catch all cases where bread() returns an error and a valid *bp, and release the *bp.
Obtained from: DragonFlyBSD
|
#
c80a90c5 |
| 03-Mar-2004 |
Scott Long <scottl@FreeBSD.org> |
Change __FUNCTION__ to __func__
Submitted by: Stefan Farfeleder
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0 |
|
#
77411499 |
| 07-Dec-2003 |
Scott Long <scottl@FreeBSD.org> |
Re-arrange and consolidate some random debugging stuff
|
#
6565282c |
| 05-Nov-2003 |
Scott Long <scottl@FreeBSD.org> |
Add hooks for translating directories entries using the iconv methods.
Submitted by: imura@ryu16.org
|
Revision tags: release/4.9.0_cvs, release/4.9.0 |
|
#
2c18019f |
| 18-Oct-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
DuH!
bp->b_iooffset (the spot on the disk), not bp->b_offset (the offset in the file)
|
#
c87b01a0 |
| 18-Oct-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Initialize b_offset before calling VOP_STRATEGY/VOP_SPECSTRATEGY.
Remove various comments of KASSERTS and comments about B_PHYS which does not apply anymore.
|
#
9c695a26 |
| 05-Oct-2003 |
Jeff Roberson <jeff@FreeBSD.org> |
- Don't cache_purge() in *_reclaim routines. vclean() does it for us so this is redundant.
|
#
cefb5754 |
| 15-Jun-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Add the same KASSERT to all VOP_STRATEGY and VOP_SPECSTRATEGY implementations to check that the buffer points to the correct vnode.
|
Revision tags: release/5.1.0_cvs, release/5.1.0 |
|
#
1830bca1 |
| 04-May-2003 |
Scott Long <scottl@FreeBSD.org> |
Correctly calculate the size of the extent that should be read in udf_readatoffset(). This should fixe problems with reading udf filesystems created with mkisofs.
|
#
c9c0dc5b |
| 04-May-2003 |
Scott Long <scottl@FreeBSD.org> |
Implement the node cache as a hash table.
|
Revision tags: release/4.8.0_cvs, release/4.8.0 |
|
#
bf6ac110 |
| 16-Mar-2003 |
Tim J. Robbins <tjr@FreeBSD.org> |
Make udf_allocv() return an unlocked vnode instead of a locked one to avoid a "locking against myself" panic when udf_hashins() tries to lock it again. Lock the vnode in udf_hashins() before adding i
Make udf_allocv() return an unlocked vnode instead of a locked one to avoid a "locking against myself" panic when udf_hashins() tries to lock it again. Lock the vnode in udf_hashins() before adding it to the hash bucket.
show more ...
|
#
99648386 |
| 03-Mar-2003 |
Nate Lawson <njl@FreeBSD.org> |
Finish cleanup of vprint() which was begun with changing v_tag to a string. Remove extraneous uses of vop_null, instead defering to the default op. Rename vnode type "vfs" to the more descriptive "sy
Finish cleanup of vprint() which was begun with changing v_tag to a string. Remove extraneous uses of vop_null, instead defering to the default op. Rename vnode type "vfs" to the more descriptive "syncer". Fix formatting for various filesystems that use vop_print.
show more ...
|
#
8994a245 |
| 02-Mar-2003 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Clean up whitespace, s/register //, refrain from strong urge to ANSIfy.
|
#
c9524588 |
| 02-Mar-2003 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
uiomove-related caddr_t -> void * (just the low-hanging fruit)
|
#
a163d034 |
| 19-Feb-2003 |
Warner Losh <imp@FreeBSD.org> |
Back out M_* changes, per decision of the TRB.
Approved by: trb
|
#
44956c98 |
| 21-Jan-2003 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
|
Revision tags: release/5.0.0_cvs, release/5.0.0 |
|
#
f5b11b6e |
| 04-Jan-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Temporarily introduce a new VOP_SPECSTRATEGY operation while I try to sort out disk-io from file-io in the vm/buffer/filesystem space.
The intent is to sort VOP_STRATEGY calls into those which opera
Temporarily introduce a new VOP_SPECSTRATEGY operation while I try to sort out disk-io from file-io in the vm/buffer/filesystem space.
The intent is to sort VOP_STRATEGY calls into those which operate on "real" vnodes and those which operate on VCHR vnodes. For the latter kind, the call will be changed to VOP_SPECSTRATEGY, possibly conditionally for those places where dual-use happens.
Add a default VOP_SPECSTRATEGY method which will call the normal VOP_STRATEGY. First time it is called it will print debugging information. This will only happen if a normal vnode is passed to VOP_SPECSTRATEGY by mistake.
Add a real VOP_SPECSTRATEGY in specfs, which does what VOP_STRATEGY does on a VCHR vnode today.
Add a new VOP_STRATEGY method in specfs to catch instances where the conversion to VOP_SPECSTRATEGY has not yet happened. Handle the request just like we always did, but first time called print debugging information.
Apart up to two instances of console messages per boot, this amounts to a glorified no-op commit.
If you get any of the messages on your console I would very much like a copy of them mailed to phk@freebsd.org
show more ...
|
#
c6e3ae99 |
| 04-Jan-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Since Jeffr made the std* functions the default in rev 1.63 of kern/vfs_defaults.c it is wrong for the individual filesystems to use the std* functions as that prevents override of the default.
Foun
Since Jeffr made the std* functions the default in rev 1.63 of kern/vfs_defaults.c it is wrong for the individual filesystems to use the std* functions as that prevents override of the default.
Found by: src/tools/tools/vop_table
show more ...
|
#
a5b65058 |
| 14-Oct-2002 |
Kirk McKusick <mckusick@FreeBSD.org> |
Regularize the vop_stdlock'ing protocol across all the filesystems that use it. Specifically, vop_stdlock uses the lock pointed to by vp->v_vnlock. By default, getnewvnode sets up vp->v_vnlock to ref
Regularize the vop_stdlock'ing protocol across all the filesystems 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.
show more ...
|
Revision tags: release/4.7.0_cvs |
|
#
1d02d910 |
| 26-Sep-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Return ENOTTY on unrecognized ioctls.
|
#
06be2aaa |
| 14-Sep-2002 |
Nate Lawson <njl@FreeBSD.org> |
Remove all use of vnode->v_tag, replacing with appropriate substitutes. v_tag is now const char * and should only be used for debugging.
Additionally: 1. All users of VT_NTS now check vfsconf->vf_ty
Remove all use of vnode->v_tag, replacing with appropriate substitutes. v_tag is now const char * and should only be used for debugging.
Additionally: 1. All users of VT_NTS now check vfsconf->vf_type VFCF_NETWORK 2. The user of VT_PROCFS now checks for the new flag VV_PROCDEP, which is propagated by pseudofs to all child vnodes if the fs sets PFS_PROCDEP.
Suggested by: phk Reviewed by: bde, rwatson (earlier version)
show more ...
|
#
c8eeea2f |
| 20-Aug-2002 |
Scott Long <scottl@FreeBSD.org> |
Remove the possibility of a race condition when reading the . and .. entries.
|