diff options
author | Brian Behlendorf <[email protected]> | 2015-06-09 16:39:25 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-06-16 16:18:11 -0700 |
commit | 8e70975f905935df2a68fb242570056035a52948 (patch) | |
tree | dc5f37d98115f8bbfd988619c470fabded2ed2e7 /autogen.sh | |
parent | b64ccd6c52cfb34d7b92715baef5ebd9305de6d1 (diff) |
Wait interruptibly in prefetch thread
The Linux kernel watchdog will automatically dump a backtrace for
any process while sleeps for over 120s in an uninterruptible state.
The solution is for the prefetch thread to sleep in an interruptible
state. The way the existing code was written this is safe because
when woken it will always reevaluate its conditional. As a general
rule it is preferable to sleep in an interruptible when possible.
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #3450
Closes #3402
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions