Changeset View
Changeset View
Standalone View
Standalone View
sys/contrib/openzfs/module/zfs/dbuf.c
Show First 20 Lines • Show All 4,650 Lines • ▼ Show 20 Lines | if (!BP_IS_HOLE(obp)) | ||||
dsl_free(spa_get_dsl(zio->io_spa), zio->io_txg, obp); | dsl_free(spa_get_dsl(zio->io_spa), zio->io_txg, obp); | ||||
arc_release(dr->dt.dl.dr_data, db); | arc_release(dr->dt.dl.dr_data, db); | ||||
} | } | ||||
mutex_exit(&db->db_mtx); | mutex_exit(&db->db_mtx); | ||||
dbuf_write_done(zio, NULL, db); | dbuf_write_done(zio, NULL, db); | ||||
if (zio->io_abd != NULL) | if (zio->io_abd != NULL) | ||||
abd_put(zio->io_abd); | abd_free(zio->io_abd); | ||||
} | } | ||||
typedef struct dbuf_remap_impl_callback_arg { | typedef struct dbuf_remap_impl_callback_arg { | ||||
objset_t *drica_os; | objset_t *drica_os; | ||||
uint64_t drica_blk_birth; | uint64_t drica_blk_birth; | ||||
dmu_tx_t *drica_tx; | dmu_tx_t *drica_tx; | ||||
} dbuf_remap_impl_callback_arg_t; | } dbuf_remap_impl_callback_arg_t; | ||||
▲ Show 20 Lines • Show All 291 Lines • Show Last 20 Lines |