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

maxinflight can overflow in spa_load_verify_cb() #9272

Merged
merged 1 commit into from
Sep 3, 2019
Merged

maxinflight can overflow in spa_load_verify_cb() #9272

merged 1 commit into from
Sep 3, 2019

Conversation

grwilson
Copy link
Member

@grwilson grwilson commented Sep 1, 2019

When running on larger memory systems, we can overflow the value of
maxinflight. This can result in maxinflight having a value of 0 causing
the system to hang.

Signed-off-by: George Wilson george.wilson@delphix.com

This address issue 9214.

@grwilson grwilson changed the title maxinflight can overflow in spa_load_verif_cb() maxinflight can overflow in spa_load_verify_cb() Sep 1, 2019
When running on larger memory systems, we can overflow the value of
maxinflight. This can result in maxinflight having a value of 0 causing
the system to hang.

Signed-off-by: George Wilson <george.wilson@delphix.com>
Copy link
Contributor

@ikozhukhov ikozhukhov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested in real hw with 256GB ECC RAM

@grwilson
Copy link
Member Author

grwilson commented Sep 1, 2019

@ikozhukhov verified that it addresses the issue he reported.

@codecov
Copy link

codecov bot commented Sep 1, 2019

Codecov Report

Merging #9272 into master will decrease coverage by 0.39%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #9272     +/-   ##
=========================================
- Coverage   79.31%   78.91%   -0.4%     
=========================================
  Files         400      400             
  Lines      122034   122036      +2     
=========================================
- Hits        96792    96307    -485     
- Misses      25242    25729    +487
Flag Coverage Δ
#kernel 79.7% <100%> (-0.13%) ⬇️
#user 66.3% <100%> (-1.17%) ⬇️

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 c953960...e2f782f. Read the comment docs.

@behlendorf behlendorf added the Status: Accepted Ready to integrate (reviewed, tested) label Sep 3, 2019
@behlendorf behlendorf merged commit 1e52716 into openzfs:master Sep 3, 2019
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Dec 24, 2019
When running on larger memory systems, we can overflow the value of
maxinflight. This can result in maxinflight having a value of 0 causing
the system to hang.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Wilson <george.wilson@delphix.com>
Closes openzfs#9272
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Dec 27, 2019
When running on larger memory systems, we can overflow the value of
maxinflight. This can result in maxinflight having a value of 0 causing
the system to hang.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Wilson <george.wilson@delphix.com>
Closes openzfs#9272
tonyhutter pushed a commit that referenced this pull request Jan 23, 2020
When running on larger memory systems, we can overflow the value of
maxinflight. This can result in maxinflight having a value of 0 causing
the system to hang.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Wilson <george.wilson@delphix.com>
Closes #9272
allanjude pushed a commit to KlaraSystems/zfs that referenced this pull request Apr 28, 2020
When running on larger memory systems, we can overflow the value of
maxinflight. This can result in maxinflight having a value of 0 causing
the system to hang.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Wilson <george.wilson@delphix.com>
Closes openzfs#9272
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Accepted Ready to integrate (reviewed, tested)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants