-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
traverse_visitbp() stack usage #675
Comments
Below is a real world example of traverse_visitbp() causing a stack overrun. It's responsible for nearly 2k of the stack, if this recursive function could be reworked to an iterative implementation it would help considerably.
|
We've whittled the stack usage here down such that it's no longer a problem. We just need to be careful going forward not to let it grow again. |
pcd1193182
pushed a commit
to pcd1193182/zfs
that referenced
this issue
Sep 26, 2023
fix nits that will be flagged by rust 1.66's clippy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Observed when running zfs on top of dm multipath devices. I suspect we still are a little stack heavy can trashed the stack, this was with RHEL6.2. Further savings will need to be found, after a reboot we didn't hit the problem again.
The text was updated successfully, but these errors were encountered: