-
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
zfs rollback crash #431
Comments
Running latest ZFS git on Ubuntu 10.04 (using kernel 3.0.0) and I'm seeing a crash mainly during ZFS rollbacks. The rollback hangs, and any processes that were accessing data on the ZFS volumes become blocked. Below is the call trace I get when this issue occurs: [ 670.770635] BUG: unable to handle kernel NULL pointer dereference at 0000000000000020 If there's any more information that would be helpful, just ask and I'll try and provide it. |
Can you provide, reproduction steps. It will be helpful |
Here's what seems to be causing the issue: On 11/2/2011 4:54 AM, rohan-puri wrote:
Alex Snow |
Thanks for the steps. I tried to reproduce it on my end but its NOT reproducible at my end. |
Steps to reproduce:
|
This looks pretty clear cut, thanks Gunnar I'll get your fix merged in. |
In general, `PathBuf`/`&Path` should be used instead of `String`/`&str` because unix paths can be any nul-terminated byte array, which is more general than Rust's String (which must be valid UTF-8). By using String, we are unable to operate on some files (those whose names are not valid UTF-8). However, for the agent, this isn't that big of a deal in practice, since this isn't a general file-processing utility. However, we can still benefit from using Path: * The more specific type makes it more clear what variables are used for * We can take advantage of the directory-path-specific helper methods This commit changes our codebase to use PathBuf/Path.
No description provided.
The text was updated successfully, but these errors were encountered: