Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2015 22:38:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 191953] [vfs] [patch] better KASSERT msg in _vn_lock()
Message-ID:  <bug-191953-8-Tk1U4cay9d@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191953-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-191953-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191953

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org

--- Comment #3 from Mark Johnston <markj@FreeBSD.org> ---
I believe the current assertion message is correct. An error from vop_stdlock
indicates that the lock operation could not be completed, for example because
LK_NOWAIT was set in the flags, or the caller specified an interruptible sleep
and a signal was received. In this case, the use of LK_RETRY is incompatible
with other flags.

If the FS provides its own vop_lock implementation, the assertion says that it
must not return an error if LK_RETRY is set.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191953-8-Tk1U4cay9d>