FreeBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c
/*
 * We already have a dirty record for this TXG, and we are being
 * dirtied again.
 */
We already have a dirty record for this TXG, and we are being
dirtied again.
We already have a dirty record for this TXG and we are being dirtied again .
static void
dbuf_redirty(dbuf_dirty_record_t *dr)
{
	dmu_buf_impl_t *db = dr->dr_dbuf;
	ASSERT(MUTEX_HELD(&db->db_mtx));
	if (db->db_level == 0 && db->db_blkid != DMU_BONUS_BLKID) {
		dbuf_unoverride(dr);
		if (db->db.db_object != DMU_META_DNODE_OBJECT &&
		    db->db_state != DB_NOFILL) {
			ASSERT(arc_released(db->db_buf));
			arc_buf_thaw(db->db_buf);
		}
	}
}
static void dbuf_redirty ( dbuf_dirty_record_t * dr ) { dmu_buf_impl_t * db = dr -> dr_dbuf ; ASSERT ( MUTEX_HELD ( & db -> db_mtx ) ) ; if ( db -> db_level == 0 && db -> db_blkid != DMU_BONUS_BLKID ) { dbuf_unoverride ( dr ) ; if ( db -> db . db_object != DMU_META_DNODE_OBJECT && db -> db_state != DB_NOFILL ) { ASSERT ( arc_released ( db -> db_buf ) ) ; arc_buf_thaw ( db -> db_buf ) ; } } }
We already have a dirty record for this TXG, and we are being
 dirtied again.
We already have a dirty record for this TXG and we are being dirtied again .
/*
		 * If this buffer has already been written out,
		 * we now need to reset its state.
		 */ /* Already released on initial dirty, so just thaw. */