Reviewed by: Pavel Zakharov <[email protected]> Reviewed by: Serapheim Dimitropoulos <[email protected]>
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. Upstream bugs: DLPX-39441 You can view, comment on, or merge this pull request online at: https://github.com/openzfs/openzfs/pull/363 -- Commit Summary -- * 8126 ztest assertion failed in dbuf_dirty due to dn_nlevels changing -- File Changes -- M usr/src/uts/common/fs/zfs/dbuf.c (15) -- Patch Links -- https://github.com/openzfs/openzfs/pull/363.patch https://github.com/openzfs/openzfs/pull/363.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/openzfs/openzfs/pull/363 ------------------------------------------ openzfs-developer Archives: https://openzfs.topicbox.com/groups/developer/ Powered by Topicbox: https://topicbox.com
