| 419 | } |
| 420 | |
| 421 | void |
| 422 | dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx) |
| 423 | { |
| 424 | ASSERT3U(zfs_refcount_count(&dn->dn_holds), >=, 1); |
| 425 | ASSERT(RW_WRITE_HELD(&dn->dn_struct_rwlock)); |
| 426 | dnode_setdirty(dn, tx); |
| 427 | dn->dn_rm_spillblk[tx->tx_txg & TXG_MASK] = DN_KILL_SPILLBLK; |
| 428 | dn->dn_have_spill = B_FALSE; |
| 429 | } |
| 430 | |
| 431 | static void |
| 432 | dnode_setdblksz(dnode_t *dn, int size) |
no test coverage detected