FreeBSD ZFS
The Zettabyte File System
Defines | Enumerations | Functions

sys/zio_impl.h File Reference

#include <sys/zfs_context.h>
#include <sys/zio.h>
Include dependency graph for zio_impl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ZIO_INTERLOCK_STAGES
#define ZIO_INTERLOCK_PIPELINE   ZIO_INTERLOCK_STAGES
#define ZIO_VDEV_IO_STAGES
#define ZIO_VDEV_CHILD_PIPELINE
#define ZIO_READ_COMMON_STAGES
#define ZIO_READ_PHYS_PIPELINE   ZIO_READ_COMMON_STAGES
#define ZIO_READ_PIPELINE
#define ZIO_DDT_CHILD_READ_PIPELINE   ZIO_READ_COMMON_STAGES
#define ZIO_DDT_READ_PIPELINE
#define ZIO_WRITE_COMMON_STAGES
#define ZIO_WRITE_PHYS_PIPELINE   ZIO_WRITE_COMMON_STAGES
#define ZIO_REWRITE_PIPELINE
#define ZIO_WRITE_PIPELINE
#define ZIO_DDT_CHILD_WRITE_PIPELINE
#define ZIO_DDT_WRITE_PIPELINE
#define ZIO_GANG_STAGES
#define ZIO_FREE_PIPELINE
#define ZIO_DDT_FREE_PIPELINE
#define ZIO_CLAIM_PIPELINE
#define ZIO_IOCTL_PIPELINE
#define ZIO_BLOCKING_STAGES

Enumerations

enum  zio_stage {
  ZIO_STAGE_OPEN = 1 << 0, ZIO_STAGE_READ_BP_INIT = 1 << 1, ZIO_STAGE_FREE_BP_INIT = 1 << 2, ZIO_STAGE_ISSUE_ASYNC = 1 << 3,
  ZIO_STAGE_WRITE_BP_INIT = 1 << 4, ZIO_STAGE_CHECKSUM_GENERATE = 1 << 5, ZIO_STAGE_DDT_READ_START = 1 << 6, ZIO_STAGE_DDT_READ_DONE = 1 << 7,
  ZIO_STAGE_DDT_WRITE = 1 << 8, ZIO_STAGE_DDT_FREE = 1 << 9, ZIO_STAGE_GANG_ASSEMBLE = 1 << 10, ZIO_STAGE_GANG_ISSUE = 1 << 11,
  ZIO_STAGE_DVA_ALLOCATE = 1 << 12, ZIO_STAGE_DVA_FREE = 1 << 13, ZIO_STAGE_DVA_CLAIM = 1 << 14, ZIO_STAGE_READY = 1 << 15,
  ZIO_STAGE_VDEV_IO_START = 1 << 16, ZIO_STAGE_VDEV_IO_DONE = 1 << 17, ZIO_STAGE_VDEV_IO_ASSESS = 1 << 18, ZIO_STAGE_CHECKSUM_VERIFY = 1 << 19,
  ZIO_STAGE_DONE = 1 << 20
}
 

zio pipeline stage definitions

More...

Functions

void zio_inject_init (void)
void zio_inject_fini (void)

Define Documentation

#define ZIO_BLOCKING_STAGES
#define ZIO_CLAIM_PIPELINE
Value:

Definition at line 156 of file zio_impl.h.

#define ZIO_DDT_CHILD_READ_PIPELINE   ZIO_READ_COMMON_STAGES

Definition at line 100 of file zio_impl.h.

#define ZIO_DDT_CHILD_WRITE_PIPELINE
Value:

Definition at line 127 of file zio_impl.h.

#define ZIO_DDT_FREE_PIPELINE
#define ZIO_DDT_READ_PIPELINE
#define ZIO_DDT_WRITE_PIPELINE
#define ZIO_FREE_PIPELINE
#define ZIO_GANG_STAGES
Value:

Definition at line 139 of file zio_impl.h.

#define ZIO_INTERLOCK_PIPELINE   ZIO_INTERLOCK_STAGES

Definition at line 76 of file zio_impl.h.

#define ZIO_INTERLOCK_STAGES
Value:

Definition at line 72 of file zio_impl.h.

#define ZIO_IOCTL_PIPELINE
#define ZIO_READ_COMMON_STAGES
Value:

Definition at line 88 of file zio_impl.h.

#define ZIO_READ_PHYS_PIPELINE   ZIO_READ_COMMON_STAGES

Definition at line 93 of file zio_impl.h.

#define ZIO_READ_PIPELINE
Value:

Definition at line 96 of file zio_impl.h.

#define ZIO_REWRITE_PIPELINE
Value:

Definition at line 118 of file zio_impl.h.

#define ZIO_VDEV_CHILD_PIPELINE
Value:

Definition at line 84 of file zio_impl.h.

#define ZIO_VDEV_IO_STAGES
#define ZIO_WRITE_COMMON_STAGES
#define ZIO_WRITE_PHYS_PIPELINE   ZIO_WRITE_COMMON_STAGES

Definition at line 115 of file zio_impl.h.

#define ZIO_WRITE_PIPELINE

Enumeration Type Documentation

enum zio_stage

zio pipeline stage definitions

Enumerator:
ZIO_STAGE_OPEN 

RWFCI.

ZIO_STAGE_READ_BP_INIT 

R----.

ZIO_STAGE_FREE_BP_INIT 

--F--

ZIO_STAGE_ISSUE_ASYNC 

RWF--.

ZIO_STAGE_WRITE_BP_INIT 

-W---

ZIO_STAGE_CHECKSUM_GENERATE 

-W---

ZIO_STAGE_DDT_READ_START 

R----.

ZIO_STAGE_DDT_READ_DONE 

R----.

ZIO_STAGE_DDT_WRITE 

-W---

ZIO_STAGE_DDT_FREE 

--F--

ZIO_STAGE_GANG_ASSEMBLE 

RWFC-.

ZIO_STAGE_GANG_ISSUE 

RWFC-.

ZIO_STAGE_DVA_ALLOCATE 

-W---

ZIO_STAGE_DVA_FREE 

--F--

ZIO_STAGE_DVA_CLAIM 

---C-

ZIO_STAGE_READY 

RWFCI.

ZIO_STAGE_VDEV_IO_START 

RWF-I.

ZIO_STAGE_VDEV_IO_DONE 

RWF--.

ZIO_STAGE_VDEV_IO_ASSESS 

RWF-I.

ZIO_STAGE_CHECKSUM_VERIFY 

R----.

ZIO_STAGE_DONE 

RWFCI.

Definition at line 39 of file zio_impl.h.


Function Documentation

void zio_inject_fini ( void  )

Definition at line 512 of file zio_inject.c.

void zio_inject_init ( void  )

Definition at line 504 of file zio_inject.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines