Skip to content

Commit

Permalink
Disable lockdep for db->db_rwlock
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
  • Loading branch information
behlendorf committed May 6, 2024
1 parent 006a0e8 commit 73bf6f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/zfs/dbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ dbuf_cons(void *vdb, void *unused, int kmflag)
memset(db, 0, sizeof (dmu_buf_impl_t));

mutex_init(&db->db_mtx, NULL, MUTEX_NOLOCKDEP, NULL);
rw_init(&db->db_rwlock, NULL, RW_DEFAULT, NULL);
rw_init(&db->db_rwlock, NULL, RW_NOLOCKDEP, NULL);
cv_init(&db->db_changed, NULL, CV_DEFAULT, NULL);
multilist_link_init(&db->db_cache_link);
zfs_refcount_create(&db->db_holds);
Expand Down

0 comments on commit 73bf6f6

Please sign in to comment.