zio_impl.h revision 9cb154a3c9f170904dce9bad5bd5a7d256b922a4
92bd137769a071d6992c3a01c14c0b2bf044b293ludovicp * CDDL HEADER START
92bd137769a071d6992c3a01c14c0b2bf044b293ludovicp * The contents of this file are subject to the terms of the
92bd137769a071d6992c3a01c14c0b2bf044b293ludovicp * Common Development and Distribution License (the "License").
92bd137769a071d6992c3a01c14c0b2bf044b293ludovicp * You may not use this file except in compliance with the License.
92bd137769a071d6992c3a01c14c0b2bf044b293ludovicp * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
#ifndef _ZIO_IMPL_H
#define _ZIO_IMPL_H
#ifdef __cplusplus
enum zio_stage {
#define ZIO_INTERLOCK_STAGES \
(ZIO_STAGE_READY | \
#define ZIO_INTERLOCK_PIPELINE \
#define ZIO_VDEV_IO_STAGES \
#define ZIO_VDEV_CHILD_PIPELINE \
(ZIO_VDEV_IO_STAGES | \
#define ZIO_READ_COMMON_STAGES \
(ZIO_INTERLOCK_STAGES | \
#define ZIO_READ_PHYS_PIPELINE \
#define ZIO_READ_PIPELINE \
#define ZIO_DDT_CHILD_READ_PIPELINE \
#define ZIO_DDT_READ_PIPELINE \
(ZIO_INTERLOCK_STAGES | \
#define ZIO_WRITE_COMMON_STAGES \
(ZIO_INTERLOCK_STAGES | \
#define ZIO_WRITE_PHYS_PIPELINE \
#define ZIO_REWRITE_PIPELINE \
#define ZIO_WRITE_PIPELINE \
#define ZIO_DDT_CHILD_WRITE_PIPELINE \
(ZIO_INTERLOCK_STAGES | \
#define ZIO_DDT_WRITE_PIPELINE \
(ZIO_INTERLOCK_STAGES | \
#define ZIO_GANG_STAGES \
#define ZIO_FREE_PIPELINE \
(ZIO_INTERLOCK_STAGES | \
#define ZIO_DDT_FREE_PIPELINE \
(ZIO_INTERLOCK_STAGES | \
#define ZIO_CLAIM_PIPELINE \
(ZIO_INTERLOCK_STAGES | \
#define ZIO_IOCTL_PIPELINE \
(ZIO_INTERLOCK_STAGES | \
#define ZIO_BLOCKING_STAGES \
extern void zio_inject_init(void);
extern void zio_inject_fini(void);
#ifdef __cplusplus