summaryrefslogtreecommitdiffstats
path: root/contrib/diff/lib
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2013-09-29 18:04:57 +0000
committerkib <kib@FreeBSD.org>2013-09-29 18:04:57 +0000
commite309fe770fe53eebe5dca3f8d640a68a853a4bde (patch)
treeb194cd8fdd4ee00888a5194a6145747276b23b61 /contrib/diff/lib
parent632f1d29f39402167db9069d25e9bdc974b29c88 (diff)
downloadFreeBSD-src-e309fe770fe53eebe5dca3f8d640a68a853a4bde.zip
FreeBSD-src-e309fe770fe53eebe5dca3f8d640a68a853a4bde.tar.gz
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)
Diffstat (limited to 'contrib/diff/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud