Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions module/zfs/dbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1539,6 +1539,7 @@ dbuf_read_verify_dnode_crypt(dmu_buf_impl_t *db, dnode_t *dn, uint32_t flags)
return (0);

mutex_enter(&dndb->db_mtx);
dnbuf = dndb->db_buf;

/*
* Since dnode buffer is modified by sync process, there can be only
Expand All @@ -1556,6 +1557,7 @@ dbuf_read_verify_dnode_crypt(dmu_buf_impl_t *db, dnode_t *dn, uint32_t flags)
if (dr == NULL || dr->dt.dl.dr_data != dnbuf)
break;
cv_wait(&dndb->db_changed, &dndb->db_mtx);
dnbuf = dndb->db_buf;
};

SET_BOOKMARK(&zb, dmu_objset_id(os),
Expand Down
Loading