diff options
author | Sara Hartse <[email protected]> | 2019-01-30 12:31:16 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-01-30 12:31:16 -0800 |
commit | 2747f599ff322ddafbfef79813e63624d04fb7aa (patch) | |
tree | 2f2141917a4ca76d87634b1e32b50f41ba451909 /LICENSE | |
parent | 21e7cf5da89f55ce98ec1115726b150e19eefe89 (diff) |
Don't acquire zthr_request_lock in zthr_wakeup
Address a deadlock caused by simultaneous wakeup and cancel on a zthr
by remove the hold of zthr_request_lock from zthr_wakeup. This
allows thr_wakeup to not block a thread that is in the process of
being cancelled.
Reviewed-by: Matt Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Serapheim Dimitropoulos <[email protected]>
Signed-off-by: Sara Hartse <[email protected]>
Closes #8333
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions