diff options
author | Matthew Ahrens <[email protected]> | 2017-03-20 15:38:11 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-07-07 14:58:33 -0700 |
commit | 2ade4a99f0b995df6fb45138d04a0209b959ef63 (patch) | |
tree | 78a602f093a77bb6c8d5421b2da482e5db7b05f8 /cmd/vdev_id | |
parent | a896468c7872dc7277fd0171c65bd2c185bfcaab (diff) |
OpenZFS 8126 - ztest assertion failed in dbuf_dirty due to dn_nlevels changing
The sync thread is concurrently modifying dn_phys->dn_nlevels
while dbuf_dirty() is trying to assert something about it, without
holding the necessary lock. We need to move this assertion further down
in the function, after we have acquired the dn_struct_rwlock.
Authored by: Matthew Ahrens <[email protected]>
Reviewed by: Pavel Zakharov <[email protected]>
Reviewed by: Serapheim Dimitropoulos <[email protected]>
Approved by: Robert Mustacchi <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Ported-by: Giuseppe Di Natale <[email protected]>
OpenZFS-issue: https://www.illumos.org/issues/8126
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/0ef125d
Closes #6314
Diffstat (limited to 'cmd/vdev_id')
0 files changed, 0 insertions, 0 deletions