Skip to content

Commit

Permalink
Avoid Linux hung task message in ZTHR
Browse files Browse the repository at this point in the history
s/cv_wait/cv_wait_sig/ in zthr_procedure().

Signed-off-by: Tim Chase <tim@chase2k.com>
  • Loading branch information
dweeezil committed Apr 15, 2018
1 parent cbb8933 commit ca59f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/zfs/zthr.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ zthr_procedure(void *arg)
mutex_enter(&t->zthr_lock);
} else {
/* go to sleep */
cv_wait(&t->zthr_cv, &t->zthr_lock);
cv_wait_sig(&t->zthr_cv, &t->zthr_lock);
}
}
mutex_exit(&t->zthr_lock);
Expand Down

0 comments on commit ca59f25

Please sign in to comment.