Lines Matching defs:itxs
470 * to cleanup the itxs at the end of spa_sync().
1152 * Free up the sync and async itxs. The itxs_t has already been detached
1156 zil_itxg_clean(itxs_t *itxs)
1164 list = &itxs->i_sync_list;
1172 t = &itxs->i_async_tree;
1185 kmem_free(itxs, sizeof (itxs_t));
1254 itxs_t *itxs, *clean = NULL;
1279 itxs = itxg->itxg_itxs;
1281 if (itxs != NULL) {
1284 * this itxg. Save the itxs for release below.
1293 itxs = itxg->itxg_itxs = kmem_zalloc(sizeof (itxs_t), KM_SLEEP);
1295 list_create(&itxs->i_sync_list, sizeof (itx_t),
1297 avl_create(&itxs->i_async_tree, zil_aitx_compare,
1302 list_insert_tail(&itxs->i_sync_list, itx);
1306 avl_tree_t *t = &itxs->i_async_tree;
1326 /* Release the old itxs now we've dropped the lock */
1359 * Preferably start a task queue to free up the old itxs but
1370 * Get the list of itxs to commit into zl_itx_commit_list.
1403 * Move the async itxs for a specified object to commit into sync lists.
1533 * itxs are committed in batches. In a heavily stressed zil there will be
1534 * a commit writer thread who is writing out a bunch of itxs to the log
1559 /* move the async itxs for the foid to the sync queues */
1747 * Also free up the ziltest itxs.