zfs_mg_alloc_failures = MAX((3 * max_ncpus / 2), 8);
zio_inject_init();
+
+ lz4_init();
}
void
kmem_cache_destroy(zio_cache);
zio_inject_fini();
+
+ lz4_fini();
}
/*
return;
}
+#ifdef _KERNEL
/*
* If we executing in the context of the tx_sync_thread,
* or we are performing pool initialization outside of a
zio_taskq_dispatch(zio, ZIO_TASKQ_ISSUE, cut);
return;
}
+#endif
zio->io_stage = stage;
rv = zio_pipeline[highbit(stage) - 1](zio);