# HG changeset patch # User George Wilson # Date 1280958916 25200 # Node ID 8a1c615ca92b37c524e917be650f0cd17a3f48e9 # Parent 3c7681e3e3235bc25a3bdc5460ada47d51b36126 6958471 assertion failed: BP_GET_DEDUP(zio->io_bp), file: ../../common/fs/zfs/arc.c, line: 3257 diff -r 3c7681e3e323 -r 8a1c615ca92b usr/src/uts/common/fs/zfs/dbuf.c --- a/usr/src/uts/common/fs/zfs/dbuf.c Wed Aug 04 12:28:19 2010 -0700 +++ b/usr/src/uts/common/fs/zfs/dbuf.c Wed Aug 04 14:55:16 2010 -0700 @@ -1803,17 +1803,13 @@ /* dbuf_find() returns with db_mtx held */ if (db = dbuf_find(dn, 0, blkid)) { - if (refcount_count(&db->db_holds) > 0) { - /* - * This dbuf is active. We assume that it is - * already CACHED, or else about to be either - * read or filled. - */ - mutex_exit(&db->db_mtx); - return; - } + /* + * This dbuf is already in the cache. We assume that + * it is already CACHED, or else about to be either + * read or filled. + */ mutex_exit(&db->db_mtx); - db = NULL; + return; } if (dbuf_findbp(dn, 0, blkid, TRUE, &db, &bp) == 0) {