Konstantin Belousov ac34145005 Reimplement r255797 using LK_TRYUPGRADE.
The  r255797 was:
Increase the chance of the buffer write from the bufdaemon helper
context to succeed.  If the locked vnode which owns the buffer to be
written is shared locked, try the non-blocking upgrade of the lock to
exclusive.

PR:	kern/178997
Reported and tested by:	Klaus Weber <fbsd-bugs-2013-1@unix-admin.de>
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Approved by:	re (glebius)
2013-09-29 18:04:57 +00:00
..
2013-09-29 15:19:34 +00:00
2013-09-29 01:05:00 +00:00
2013-09-29 15:19:34 +00:00
MFC
2013-09-06 17:42:12 +00:00
2013-09-29 13:09:25 +00:00
2013-09-27 15:17:28 +00:00