Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 2014 16:16:01 +0000 (UTC)
From:      Will Andrews <will@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r272371 - head/sys/sys
Message-ID:  <201410011616.s91GG1Oh070888@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410011616.s91GG1Oh070888>