<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/tools/vnode_if.awk, branch release/6.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F6.0.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F6.0.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2005-11-03T00:35:26Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2005-11-03T00:35:26Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2005-11-03T00:35:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3640cb54210edbb7edbf1b12ef0127ecfcea967d'/>
<id>urn:sha1:3640cb54210edbb7edbf1b12ef0127ecfcea967d</id>
<content type='text'>
'RELENG_6_0_0_RELEASE'.

This commit was manufactured to restore the state of the 6.0-RELEASE image.
</content>
</entry>
<entry>
<title>Allow EVFILT_VNODE events to work on every filesystem type, not just</title>
<updated>2005-06-09T20:20:31Z</updated>
<author>
<name>Suleiman Souhlal</name>
<email>ssouhlal@FreeBSD.org</email>
</author>
<published>2005-06-09T20:20:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=679985d03a64f5dfb4355538ae6e3b70f8347f38'/>
<id>urn:sha1:679985d03a64f5dfb4355538ae6e3b70f8347f38</id>
<content type='text'>
UFS by:
- Making the pre and post hooks for the VOP functions work even when
DEBUG_VFS_LOCKS is not defined.
- Moving the KNOTE activations into the corresponding VOP hooks.
- Creating a MNTK_NOKNOTE flag for the mnt_kern_flag field of struct
mount that permits filesystems to disable the new behavior.
- Creating a default VOP_KQFILTER function: vfs_kqfilter()

My benchmarks have not revealed any performance degradation.

Reviewed by:	jeff, bde
Approved by:	rwatson, jmg (kqueue changes), grehan (mentor)
</content>
</entry>
<entry>
<title> - Add the character "E" to the understood lock types.  This means</title>
<updated>2005-04-11T15:15:03Z</updated>
<author>
<name>Jeff Roberson</name>
<email>jeff@FreeBSD.org</email>
</author>
<published>2005-04-11T15:15:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=680a1ec63132635c09bb3d03670dd53082f2f5c0'/>
<id>urn:sha1:680a1ec63132635c09bb3d03670dd53082f2f5c0</id>
<content type='text'>
   the VOP requires an exclusive lock.

Sponsored by:	Isilon Systems, Inc.
</content>
</entry>
<entry>
<title>Add VOP_FOO_APV() which takes a pointer to the vop_vector.</title>
<updated>2005-02-08T12:54:32Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2005-02-08T12:54:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=119798b384036a071be8217d107a8b4c23f22bd8'/>
<id>urn:sha1:119798b384036a071be8217d107a8b4c23f22bd8</id>
<content type='text'>
This allows stacked or partitioned filesystems to say "Continue
the normal resolution from here", for instace from FFS to UFS.

Use VNASSERT() instead of KASSERT().
</content>
</entry>
<entry>
<title>Get rid of the VDESC() macro while the pot is boiling anyway, it is</title>
<updated>2005-01-13T08:05:20Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2005-01-13T08:05:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=de8a6c067a98fe415c583676fe1e97408f2f36b7'/>
<id>urn:sha1:de8a6c067a98fe415c583676fe1e97408f2f36b7</id>
<content type='text'>
only used from generate files now, so we might as well generate the
right stuff from the start.
</content>
</entry>
<entry>
<title>Change the generated VOP_ macro implementations to improve type checking</title>
<updated>2005-01-13T07:53:01Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2005-01-13T07:53:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=63f89abf4a49d64f983e3fed54e99633f0c70d57'/>
<id>urn:sha1:63f89abf4a49d64f983e3fed54e99633f0c70d57</id>
<content type='text'>
and KASSERT coverage.

After this check there is only one "nasty" cast in this code but there
is a KASSERT to protect against the wrong argument structure behind
that cast.

Un-inlining the meat of VOP_FOO() saves 35kB of text segment on a typical
kernel with no change in performance.

We also now run the checking and tracing on VOP's which have been layered
by nullfs, umapfs, deadfs or unionfs.

    Add new (non-inline) VOP_FOO_AP() functions which take a "struct
    foo_args" argument and does everything the VOP_FOO() macros
    used to do with checks and debugging code.

    Add KASSERT to VOP_FOO_AP() check for argument type being
    correct.

    Slim down VOP_FOO() inline functions to just stuff arguments
    into the struct foo_args and call VOP_FOO_AP().

    Put function pointer to VOP_FOO_AP() into vop_foo_desc structure
    and make VCALL() use it instead of the current offsetoff() hack.

    Retire vcall() which implemented the offsetoff()

    Make deadfs and unionfs use VOP_FOO_AP() calls instead of
    VCALL(), we know which specific call we want already.

    Remove unneeded arguments to VCALL() in nullfs and umapfs bypass
    functions.

    Remove unused vdesc_offset and VOFFSET().

    Generally improve style/readability of the generated code.
</content>
</entry>
<entry>
<title>/* -&gt; /*- for license, minor formatting changes</title>
<updated>2005-01-07T02:29:27Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-01-07T02:29:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=60727d8b86294910d41cbda1a50a855ea0537449'/>
<id>urn:sha1:60727d8b86294910d41cbda1a50a855ea0537449</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rather than casting through a (void *) to avoid the aliasing warning,</title>
<updated>2004-12-13T07:23:34Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2004-12-13T07:23:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=57c75b8f1a90eaa0798dc7306f811a735f48b4c4'/>
<id>urn:sha1:57c75b8f1a90eaa0798dc7306f811a735f48b4c4</id>
<content type='text'>
do things correctly from an aliasing perspective.  Put the
vop_generic_args element as the first element for all the vop_*_args
and adjust the code to take the address of that instead of the
structure.

OK'd based on a vague description by: phk
</content>
</entry>
<entry>
<title>Cast from the specific vop_*_args to vop_generic_args via a (void *)</title>
<updated>2004-12-13T06:13:52Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2004-12-13T06:13:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=98a67cd84080bb90ac5d8653ad473ca03e63965f'/>
<id>urn:sha1:98a67cd84080bb90ac5d8653ad473ca03e63965f</id>
<content type='text'>
pointer to eliminate the hundreds of warnings that we have in tree at
the moment.

# Chances are good that all the struct vop_*_args should have, as its
# first element, the struct vop_generic_args, and when necessary to
# reference it, we just take its address rather than going through
# this double case.
</content>
</entry>
<entry>
<title>Back when VOP_* was introduced, we did not have new-style struct</title>
<updated>2004-12-01T23:16:38Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2004-12-01T23:16:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=aec0fb7b40e4cf877bea663f2d86dd07c3524fe8'/>
<id>urn:sha1:aec0fb7b40e4cf877bea663f2d86dd07c3524fe8</id>
<content type='text'>
initializations but we did have lofty goals and big ideals.

Adjust to more contemporary circumstances and gain type checking.

	Replace the entire vop_t frobbing thing with properly typed
	structures.  The only casualty is that we can not add a new
	VOP_ method with a loadable module.  History has not given
	us reason to belive this would ever be feasible in the the
	first place.

	Eliminate in toto VOCALL(), vop_t, VNODEOP_SET() etc.

	Give coda correct prototypes and function definitions for
	all vop_()s.

	Generate a bit more data from the vnode_if.src file:  a
	struct vop_vector and protype typedefs for all vop methods.

	Add a new vop_bypass() and make vop_default be a pointer
	to another struct vop_vector.

	Remove a lot of vfs_init since vop_vector is ready to use
	from the compiler.

	Cast various vop_mumble() to void * with uppercase name,
	for instance VOP_PANIC, VOP_NULL etc.

	Implement VCALL() by making vdesc_offset the offsetof() the
	relevant function pointer in vop_vector.  This is disgusting
	but since the code is generated by a script comparatively
	safe.  The alternative for nullfs etc. would be much worse.

	Fix up all vnode method vectors to remove casts so they
	become typesafe.  (The bulk of this is generated by scripts)
</content>
</entry>
</feed>
