-
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
(dsl_pool.c:1032:dsl_pool_config_enter()) ASSERTION(!rrw_held(&dp->dp_config_rwlock, RW_READER)) failed #1886
Comments
Call chain looks like:
Hmmm, with those zfs_unmount_snap() in there, it looks like it could be the same as |
Simplified call chain:
I think definitely the same as https://www.illumos.org/issues/4322 |
@chrisrd It sounds like you're right. From reading the illumos issue, the author, @stevenh is apparently currently evaluating fixes for this. From a quick read, the proposed fix is to reduce the dsl_pool_config_enter()/dsl_pool_config_exit() to only cover the call to dsl_dataset_hold_obj_string() but the question is whether this is sufficient in light of the calls to dsl_dataset_name() and dsl_dataset_rele(). In the mean time, I guess the only workaround is to not |
The change was submitted for RTI a few days ago. For the record it was demed that holding the lock over dsl_dataset_hold_obj_string()
----- Original Message -----
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 |
@stevenh Thanks, I found your illumos/illumos-gate@c50d56f fix 15 minutes ago and have ported it over to my ZoL repository - just compiling it now to test on my data set before putting up a pull request. |
4322 ZFS deadlock on dp_config_rwlock Reviewed by: Matthew Ahrens <[email protected]> Reviewed by: Ilya Usvyatsky <[email protected]> Approved by: Dan McDonald <[email protected]> References: https://www.illumos.org/issues/4322 illumos/illumos-gate@c50d56f Ported by: Chris Dunlop <[email protected]> Closes openzfs#1886
4322 ZFS deadlock on dp_config_rwlock Reviewed by: Matthew Ahrens <[email protected]> Reviewed by: Ilya Usvyatsky <[email protected]> Approved by: Dan McDonald <[email protected]> References: https://www.illumos.org/issues/4322 illumos/illumos-gate@c50d56f Ported by: Chris Dunlop <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes openzfs#1886
I'm getting this whilst trying to do a 'zpool list' after a fresh boot.
Linux-3.10.18, using current HEAD: zfs@64ad2b26, spl@dd33a16.
The ASSERT() comes from #1495, zfs@13fe019 Illumos #3464
Example kern.log extract:
The text was updated successfully, but these errors were encountered: