Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid Linux hung task message in ZTHR #7441

Merged
merged 1 commit into from
Apr 15, 2018

Conversation

dweeezil
Copy link
Contributor

Description

s/cv_wait/cv_timedwait/ in zthr_procedure().

Motivation and Context

Avoid triggering the Linux kernel "hung task" warning

How Has This Been Tested?

Ran the "removal" set of tests in ZTS.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (a change to man pages or other documentation)

Checklist:

  • My code follows the ZFS on Linux code style requirements.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • All commit messages are properly formatted and contain Signed-off-by.
  • Change has been approved by a ZFS on Linux member.

s/cv_wait/cv_wait_sig/ in zthr_procedure().

Signed-off-by: Tim Chase <tim@chase2k.com>
@dweeezil dweeezil changed the title Avoid Linux hung task message Avoid Linux hung task message in ZTHR Apr 15, 2018
@behlendorf behlendorf merged commit 5284f43 into openzfs:master Apr 15, 2018
@codecov
Copy link

codecov bot commented Apr 15, 2018

Codecov Report

Merging #7441 into master will decrease coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7441      +/-   ##
==========================================
- Coverage   76.59%   76.55%   -0.05%     
==========================================
  Files         335      335              
  Lines      107017   107018       +1     
==========================================
- Hits        81971    81925      -46     
- Misses      25046    25093      +47
Flag Coverage Δ
#kernel 77.04% <100%> (+0.14%) ⬆️
#user 65.97% <100%> (-0.24%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cbb8933...ca59f25. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants