diff options
author | mav <mav@FreeBSD.org> | 2015-08-12 19:10:29 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2015-08-12 19:10:29 +0000 |
commit | a874d2c180adcf81eb9ec711a2e5cf46e71dc3e5 (patch) | |
tree | 66198e34bf590edfb988daf3eefcff02f12552b5 /contrib/llvm/tools/clang/lib/Sema/DeclSpec.cpp | |
parent | 74dea876a80a392be3bd314bdf71970c24411341 (diff) | |
download | FreeBSD-src-a874d2c180adcf81eb9ec711a2e5cf46e71dc3e5.zip FreeBSD-src-a874d2c180adcf81eb9ec711a2e5cf46e71dc3e5.tar.gz |
MFV r284763: 5981 Deadlock in dmu_objset_find_dp
illumos/illumos-gate@1d3f896f5469c69c1339890ec3d68e9feddb0343
https://www.illumos.org/issues/5981
When dmu_objset_find_dp gets called with a read lock held, it fans out
the work to the task queue. Each task in turn acquires its own read
lock before calling the callback. If during this process anyone tries
to a acquire a write lock, it will stall all read lock requests.Thus
the tasks will never finish, the read lock of the caller will never
get freed and the write lock never acquired. deadlock.
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Arne Jansen <jansen@webgods.de>
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Sema/DeclSpec.cpp')
0 files changed, 0 insertions, 0 deletions