| 2267 | } |
| 2268 | |
| 2269 | static boolean_t |
| 2270 | dnode_spill_freed(dnode_t *dn) |
| 2271 | { |
| 2272 | int i; |
| 2273 | |
| 2274 | mutex_enter(&dn->dn_mtx); |
| 2275 | for (i = 0; i < TXG_SIZE; i++) { |
| 2276 | if (dn->dn_rm_spillblk[i] == DN_KILL_SPILLBLK) |
| 2277 | break; |
| 2278 | } |
| 2279 | mutex_exit(&dn->dn_mtx); |
| 2280 | return (i < TXG_SIZE); |
| 2281 | } |
| 2282 | |
| 2283 | /* return TRUE if this blkid was freed in a recent txg, or FALSE if it wasn't */ |
| 2284 | uint64_t |
no test coverage detected