zio_impl.h revision 44cd46cadd9aab751dae6a4023c1cb5bf316d274
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * or http://www.opensolaris.org/os/licensing.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Use is subject to license terms.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#ifndef _ZIO_IMPL_H
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define _ZIO_IMPL_H
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#pragma ident "%Z%%M% %I% %E% SMI"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#include <sys/zfs_context.h>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#include <sys/zio.h>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#ifdef __cplusplus
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteextern "C" {
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#endif
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * I/O Groups: pipeline stage definitions.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef enum zio_stage {
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_OPEN = 0, /* RWFCI */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_WAIT_CHILDREN_READY, /* RWFCI */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_WRITE_COMPRESS, /* -W--- */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_CHECKSUM_GENERATE, /* -W--- */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_GANG_PIPELINE, /* -WFC- */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_GET_GANG_HEADER, /* -WFC- */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_REWRITE_GANG_MEMBERS, /* -W--- */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_FREE_GANG_MEMBERS, /* --F-- */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_CLAIM_GANG_MEMBERS, /* ---C- */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_DVA_ALLOCATE, /* -W--- */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_DVA_FREE, /* --F-- */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_DVA_CLAIM, /* ---C- */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_GANG_CHECKSUM_GENERATE, /* -W--- */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_READY, /* RWFCI */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_VDEV_IO_START, /* RW--I */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_VDEV_IO_DONE, /* RW--I */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_VDEV_IO_ASSESS, /* RW--I */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_WAIT_CHILDREN_DONE, /* RWFCI */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_CHECKSUM_VERIFY, /* R---- */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_READ_GANG_MEMBERS, /* R---- */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_READ_DECOMPRESS, /* R---- */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_STAGE_DONE /* RWFCI */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} zio_stage_t;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The stages for which there's some performance value in going async.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * When compression is enabled, ZIO_STAGE_WRITE_COMPRESS is ORed in as well.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_ASYNC_PIPELINE_STAGES \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ((1U << ZIO_STAGE_CHECKSUM_GENERATE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_VDEV_IO_DONE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_CHECKSUM_VERIFY) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_READ_DECOMPRESS))
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_VDEV_IO_PIPELINE \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ((1U << ZIO_STAGE_VDEV_IO_START) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_VDEV_IO_DONE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_VDEV_IO_ASSESS))
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_READ_PHYS_PIPELINE \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ((1U << ZIO_STAGE_OPEN) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_WAIT_CHILDREN_READY) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_READY) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_VDEV_IO_PIPELINE | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_WAIT_CHILDREN_DONE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_CHECKSUM_VERIFY) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_DONE))
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_READ_PIPELINE \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_READ_PHYS_PIPELINE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_WRITE_PHYS_PIPELINE \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ((1U << ZIO_STAGE_OPEN) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_WAIT_CHILDREN_READY) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_CHECKSUM_GENERATE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_READY) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_VDEV_IO_PIPELINE | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_WAIT_CHILDREN_DONE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_DONE))
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_WRITE_COMMON_PIPELINE \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_WRITE_PHYS_PIPELINE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_WRITE_PIPELINE \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ((1U << ZIO_STAGE_WRITE_COMPRESS) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_WRITE_COMMON_PIPELINE)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_GANG_STAGES \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ((1U << ZIO_STAGE_GET_GANG_HEADER) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_REWRITE_GANG_MEMBERS) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_FREE_GANG_MEMBERS) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_CLAIM_GANG_MEMBERS) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_GANG_CHECKSUM_GENERATE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_READ_GANG_MEMBERS))
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_REWRITE_PIPELINE \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ((1U << ZIO_STAGE_GANG_PIPELINE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_GET_GANG_HEADER) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_REWRITE_GANG_MEMBERS) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_GANG_CHECKSUM_GENERATE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_WRITE_COMMON_PIPELINE)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_WRITE_ALLOCATE_PIPELINE \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ((1U << ZIO_STAGE_DVA_ALLOCATE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_WRITE_COMMON_PIPELINE)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_GANG_FREE_STAGES \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ((1U << ZIO_STAGE_GET_GANG_HEADER) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_FREE_GANG_MEMBERS))
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_FREE_PIPELINE \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ((1U << ZIO_STAGE_OPEN) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_WAIT_CHILDREN_READY) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_GANG_PIPELINE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_GET_GANG_HEADER) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_FREE_GANG_MEMBERS) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_DVA_FREE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_READY) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_WAIT_CHILDREN_DONE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_DONE))
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_CLAIM_PIPELINE \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ((1U << ZIO_STAGE_OPEN) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_WAIT_CHILDREN_READY) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_GANG_PIPELINE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_GET_GANG_HEADER) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_CLAIM_GANG_MEMBERS) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_DVA_CLAIM) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_READY) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_WAIT_CHILDREN_DONE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_DONE))
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_IOCTL_PIPELINE \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ((1U << ZIO_STAGE_OPEN) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_WAIT_CHILDREN_READY) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_READY) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_VDEV_IO_PIPELINE | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_WAIT_CHILDREN_DONE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_DONE))
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_WAIT_FOR_CHILDREN_PIPELINE \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ((1U << ZIO_STAGE_WAIT_CHILDREN_READY) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_READY) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_WAIT_CHILDREN_DONE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_DONE))
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_WAIT_FOR_CHILDREN_DONE_PIPELINE \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ((1U << ZIO_STAGE_WAIT_CHILDREN_DONE) | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (1U << ZIO_STAGE_DONE))
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_VDEV_CHILD_PIPELINE \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (ZIO_WAIT_FOR_CHILDREN_DONE_PIPELINE | \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_VDEV_IO_PIPELINE)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ZIO_ERROR_PIPELINE_MASK \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ZIO_WAIT_FOR_CHILDREN_PIPELINE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct zio_transform zio_transform_t;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortestruct zio_transform {
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte void *zt_data;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte uint64_t zt_size;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte uint64_t zt_bufsize;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte zio_transform_t *zt_next;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte};
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteextern void zio_inject_init(void);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteextern void zio_inject_fini(void);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#ifdef __cplusplus
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte}
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#endif
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#endif /* _ZIO_IMPL_H */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte