<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/fs/nullfs/null_vnops.c, branch release/5.3.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2004-11-04T19:12:42+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2004-11-04T19:12:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3f86d8a2ea3f3265afaa1fd263b0004c5c000e69'/>
<id>3f86d8a2ea3f3265afaa1fd263b0004c5c000e69</id>
<content type='text'>
'RELENG_5_3_0_RELEASE'.

This commit was manufactured to restore the state of the 5.3-RELEASE image.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_5_3_0_RELEASE'.

This commit was manufactured to restore the state of the 5.3-RELEASE image.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove advertising clause from University of California Regent's</title>
<updated>2004-04-07T20:46:16+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2004-04-07T20:46:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f36cfd49adb62472fd7009ecd4f0927c126ff785'/>
<id>f36cfd49adb62472fd7009ecd4f0927c126ff785</id>
<content type='text'>
license, per letter dated July 22, 1999 and email from Peter Wemm,
Alan Cox and Robert Watson.

Approved by: core, peter, alc, rwatson
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
license, per letter dated July 22, 1999 and email from Peter Wemm,
Alan Cox and Robert Watson.

Approved by: core, peter, alc, rwatson
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't try to unlock the directory vnode in null_lookup() if the lock is</title>
<updated>2004-01-11T23:44:32+00:00</updated>
<author>
<name>Don Lewis</name>
<email>truckman@FreeBSD.org</email>
</author>
<published>2004-01-11T23:44:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b8b67f93a4c2ffc89ab22debb36ee04eb3e6a3e6'/>
<id>b8b67f93a4c2ffc89ab22debb36ee04eb3e6a3e6</id>
<content type='text'>
shared with the underlying file system and the lookup in the underlying
file system did the unlock for us.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
shared with the underlying file system and the lookup in the underlying
file system did the unlock for us.
</pre>
</div>
</content>
</entry>
<entry>
<title>v_vxproc was a bogus name for a thread (pointer).</title>
<updated>2003-12-28T09:12:56+00:00</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>2003-12-28T09:12:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9efe7d9d8388817ebb42d21effc1c1f60c6f50e4'/>
<id>9efe7d9d8388817ebb42d21effc1c1f60c6f50e4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MFp4: Fix two bugs causing possible deadlocks or panics, and one nit:</title>
<updated>2003-06-17T08:52:45+00:00</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2003-06-17T08:52:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=549398753af7c4d529442200659794c1847bbd70'/>
<id>549398753af7c4d529442200659794c1847bbd70</id>
<content type='text'>
- Emulate lock draining (LK_DRAIN) in null_lock() to avoid deadlocks
  when the vnode is being recycled.
- Don't allow null_nodeget() to return a nullfs vnode from the wrong
  mount when multiple nullfs's are mounted. It's unclear why these checks
  were removed in null_subr.c 1.35, but they are definitely necessary.
  Without the checks, trying to unmount a nullfs mount will erroneously
  return EBUSY, and forcibly unmounting with -f will cause a panic.
- Bump LOG2_SIZEVNODE up to 8, since vnodes are &gt;256 bytes now. The old
  value (7) didn't cause any problems, but made the hash algorithm
  suboptimal.

These changes fix nullfs enough that a parallel buildworld succeeds.

Submitted by:	tegge (partially; LK_DRAIN)
Tested by:	kris
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Emulate lock draining (LK_DRAIN) in null_lock() to avoid deadlocks
  when the vnode is being recycled.
- Don't allow null_nodeget() to return a nullfs vnode from the wrong
  mount when multiple nullfs's are mounted. It's unclear why these checks
  were removed in null_subr.c 1.35, but they are definitely necessary.
  Without the checks, trying to unmount a nullfs mount will erroneously
  return EBUSY, and forcibly unmounting with -f will cause a panic.
- Bump LOG2_SIZEVNODE up to 8, since vnodes are &gt;256 bytes now. The old
  value (7) didn't cause any problems, but made the hash algorithm
  suboptimal.

These changes fix nullfs enough that a parallel buildworld succeeds.

Submitted by:	tegge (partially; LK_DRAIN)
Tested by:	kris
</pre>
</div>
</content>
</entry>
<entry>
<title>Finish cleanup of vprint() which was begun with changing v_tag to a string.</title>
<updated>2003-03-03T19:15:40+00:00</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2003-03-03T19:15:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=99648386d333c32640422d89494640cae331c967'/>
<id>99648386d333c32640422d89494640cae331c967</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/</title>
<updated>2002-12-30T21:18:15+00:00</updated>
<author>
<name>Jens Schweikhardt</name>
<email>schweikh@FreeBSD.org</email>
</author>
<published>2002-12-30T21:18:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d64ada501ae33c02e7c4e3ce21962907df814a5a'/>
<id>d64ada501ae33c02e7c4e3ce21962907df814a5a</id>
<content type='text'>
Add FreeBSD Id tag where missing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add FreeBSD Id tag where missing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Be consistent about functions being static.</title>
<updated>2002-10-16T08:00:32+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2002-10-16T08:00:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fcf549422d95fcbe6d5389503c0bb971031086cd'/>
<id>fcf549422d95fcbe6d5389503c0bb971031086cd</id>
<content type='text'>
Spotted by:	FlexeLint
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Spotted by:	FlexeLint
</pre>
</div>
</content>
</entry>
<entry>
<title>Regularize the vop_stdlock'ing protocol across all the filesystems</title>
<updated>2002-10-14T03:20:36+00:00</updated>
<author>
<name>Kirk McKusick</name>
<email>mckusick@FreeBSD.org</email>
</author>
<published>2002-10-14T03:20:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a5b65058d5e43141777953576267ecf12476e715'/>
<id>a5b65058d5e43141777953576267ecf12476e715</id>
<content type='text'>
that use it. Specifically, vop_stdlock uses the lock pointed to by
vp-&gt;v_vnlock. By default, getnewvnode sets up vp-&gt;v_vnlock to
reference vp-&gt;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-&gt;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-&gt;v_vnlock back to the default in their vop_reclaim
routine (e.g., vp-&gt;v_vnlock = &amp;vp-&gt;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 &amp; NAI Labs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
that use it. Specifically, vop_stdlock uses the lock pointed to by
vp-&gt;v_vnlock. By default, getnewvnode sets up vp-&gt;v_vnlock to
reference vp-&gt;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-&gt;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-&gt;v_vnlock back to the default in their vop_reclaim
routine (e.g., vp-&gt;v_vnlock = &amp;vp-&gt;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 &amp; NAI Labs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove all use of vnode-&gt;v_tag, replacing with appropriate substitutes.</title>
<updated>2002-09-14T09:02:28+00:00</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2002-09-14T09:02:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=06be2aaa8320ba839a837d20e35f35c3efdf7587'/>
<id>06be2aaa8320ba839a837d20e35f35c3efdf7587</id>
<content type='text'>
v_tag is now const char * and should only be used for debugging.

Additionally:
1. All users of VT_NTS now check vfsconf-&gt;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)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
v_tag is now const char * and should only be used for debugging.

Additionally:
1. All users of VT_NTS now check vfsconf-&gt;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)
</pre>
</div>
</content>
</entry>
</feed>
