[developer] Re: [openzfs/openzfs] dnode related bug fixes (#603)

2018-04-09 Thread brad-lewis
Closed #603. -- 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/603#event-1564629388 -- openzfs: openzfs-developer Permalink: https://openzfs.topic

[developer] Re: [openzfs/openzfs] dnode related bug fixes (#603)

2018-04-09 Thread brad-lewis
Thanks Matt and Andy. I will close this request and try again with other relevant delphix commits. -- 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/603#issuecomment-379869565 ---

[developer] Re: [openzfs/openzfs] dnode related bug fixes (#603)

2018-03-29 Thread Matthew Ahrens
ahrens commented on this pull request. > @@ -1091,7 +1091,9 @@ dmu_object_remap_indirects(objset_t *os, uint64_t > object, return (err); } - if (dn->dn_nlevels <= 1) { + rw_enter(&dn->dn_struct_rwlock, RW_WRITER); + if (dn->dn_phys->dn_nlevels <= 1) {

[developer] Re: [openzfs/openzfs] dnode related bug fixes (#603)

2018-03-29 Thread Andrew Stormont
andy-js commented on this pull request. > @@ -1091,7 +1091,9 @@ dmu_object_remap_indirects(objset_t *os, uint64_t > object, return (err); } - if (dn->dn_nlevels <= 1) { + rw_enter(&dn->dn_struct_rwlock, RW_WRITER); + if (dn->dn_phys->dn_nlevels <= 1)