svn commit: r272371 - head/sys/sys
Will Andrews
will at FreeBSD.org
Wed Oct 1 16:16:02 UTC 2014
Author: will
Date: Wed Oct 1 16:16:01 2014
New Revision: 272371
URL: https://svnweb.freebsd.org/changeset/base/272371
Log:
Embellish a comment regarding the reliability of DEBUG_VFS_LOCKS.
Submitted by: kib
Modified:
head/sys/sys/vnode.h
Modified: head/sys/sys/vnode.h
==============================================================================
--- head/sys/sys/vnode.h Wed Oct 1 16:09:11 2014 (r272370)
+++ head/sys/sys/vnode.h Wed Oct 1 16:16:01 2014 (r272371)
@@ -503,7 +503,9 @@ extern struct vnodeop_desc *vnodeop_desc
* reliable since if the thread sleeps between changing the lock
* state and checking it with the assert, some other thread could
* change the state. They are good enough for debugging a single
- * filesystem using a single-threaded test.
+ * filesystem using a single-threaded test. Note that the unreliability is
+ * limited to false negatives; efforts were made to ensure that false
+ * positives cannot occur.
*/
void assert_vi_locked(struct vnode *vp, const char *str);
void assert_vi_unlocked(struct vnode *vp, const char *str);
More information about the svn-src-head
mailing list