Skip to content

Instantly share code, notes, and snippets.

@nedbass
Created January 11, 2014 01:11
Show Gist options
  • Save nedbass/8365660 to your computer and use it in GitHub Desktop.
Save nedbass/8365660 to your computer and use it in GitHub Desktop.
struct zio {
io_bookmark = {
zb_objset = 40,
zb_object = 5189,
zb_level = 0,
zb_blkid = 1,
zb_func = 0xffffffffa04ca840 "dbuf_write"
},
io_prop = {
zp_checksum = ZIO_CHECKSUM_INHERIT,
zp_compress = ZIO_COMPRESS_INHERIT,
zp_type = DMU_OT_NONE,
zp_level = 0 '\000',
zp_copies = 0 '\000',
zp_dedup = B_FALSE,
zp_dedup_verify = B_FALSE,
zp_nopwrite = B_FALSE
},
io_type = ZIO_TYPE_WRITE,
io_child_type = ZIO_CHILD_VDEV,
io_cmd = 0,
io_priority = ZIO_PRIORITY_ASYNC_WRITE,
io_reexecute = 0 '\000',
io_state = "\001",
io_txg = 1763,
io_spa = 0xffff8800aa79a000,
io_bp = 0xffffc90012b00080,
io_bp_override = 0x0,
io_bp_copy = {
blk_dva = {{
dva_word = {256, 6278621}
}, {
dva_word = {0, 0}
}, {
dva_word = {0, 0}
}},
blk_prop = 9228727766600319231,
blk_pad = {0, 0},
blk_phys_birth = 0,
blk_birth = 1763,
blk_fill = 1,
blk_cksum = {
zc_word = {0, 0, 0, 0}
}
},
io_parent_list = {
list_size = 48,
list_offset = 16,
list_head = {
next = 0xffff8801166828e8,
prev = 0xffff8801166828e8
}
},
io_child_list = {
list_size = 48,
list_offset = 32,
list_head = {
next = 0xffff88010af00168,
prev = 0xffff88010af00168
}
},
io_walk_link = 0x0,
io_logical = 0xffff8800a16dd860,
io_transform_stack = 0x0,
io_ready = 0,
io_physdone = 0xffffffffa03b8000 <arc_write_physdone>,
io_done = 0xffffffffa045b7e0 <vdev_mirror_child_done>,
io_private = 0xffff88009a696d90,
io_prev_space_delta = 0,
io_bp_orig = {
blk_dva = {{
dva_word = {256, 6278621}
}, {
dva_word = {0, 0}
}, {
dva_word = {0, 0}
}},
blk_prop = 9228727766600319231,
blk_pad = {0, 0},
blk_phys_birth = 0,
blk_birth = 1763,
blk_fill = 1,
blk_cksum = {
zc_word = {0, 0, 0, 0}
}
},
io_data = 0xffffc90048283000,
io_orig_data = 0xffffc90048283000,
io_size = 131072,
io_orig_size = 131072,
io_vd = 0xffff8800c6a3f000,
io_vsd = 0x0,
io_vsd_ops = 0x0,
io_offset = 3218848256,
io_timestamp = 4446576376948,
io_delta = 0,
io_delay = 0,
io_queue_node = {
avl_child = {0x0, 0x0},
avl_pcb = 1
},
io_flags = 394304,
io_stage = ZIO_STAGE_VDEV_IO_START,
io_pipeline = 3014656,
io_orig_flags = 262208,
io_orig_stage = ZIO_STAGE_READY,
io_orig_pipeline = 3014656,
io_error = 0,
io_child_error = {0, 0, 0, 0},
io_children = {{0, 0}, {0, 0}, {0, 0}, {0, 0}},
io_child_count = 0,
io_phys_children = 0,
io_parent_count = 1,
io_stall = 0x0,
io_gang_leader = 0x0,
io_gang_tree = 0x0,
io_executor = 0xffff8800c6a9d280,
io_waiter = 0x0,
io_lock = {
m = {
count = {
counter = 1
},
wait_lock = {
{
rlock = {
raw_lock = {
{
head_tail = 0,
tickets = {
head = 0,
tail = 0
}
}
}
}
}
},
wait_list = {
next = 0xffff88010af00360,
prev = 0xffff88010af00360
},
owner = 0x0,
spin_mlock = 0x0
}
},
io_cv = {
cv_magic = 879052276,
cv_event = {
lock = {
{
rlock = {
raw_lock = {
{
head_tail = 1179666,
tickets = {
head = 18,
tail = 18
}
}
}
}
}
},
task_list = {
next = 0xffff88010af00390,
prev = 0xffff88010af00390
}
},
cv_destroy = {
lock = {
{
rlock = {
raw_lock = {
{
head_tail = 589833,
tickets = {
head = 9,
tail = 9
}
}
}
}
}
},
task_list = {
next = 0xffff88010af003a8,
prev = 0xffff88010af003a8
}
},
cv_refs = {
counter = 1
},
cv_waiters = {
counter = 0
},
cv_mutex = 0x0
},
io_cksum_report = 0x0,
io_ena = 0,
io_tqent = {
tqent_lock = {
{
rlock = {
raw_lock = {
{
head_tail = 0,
tickets = {
head = 0,
tail = 0
}
}
}
}
}
},
tqent_waitq = {
lock = {
{
rlock = {
raw_lock = {
{
head_tail = 0,
tickets = {
head = 0,
tail = 0
}
}
}
}
}
},
task_list = {
next = 0xffff88010af003e8,
prev = 0xffff88010af003e8
}
},
tqent_timer = {
entry = {
next = 0x0,
prev = 0x0
},
expires = 0,
base = 0xffff880119b1c000,
function = 0,
data = 0,
slack = -1,
start_pid = -1,
start_site = 0x0,
start_comm = "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
},
tqent_list = {
next = 0xffff88010af00448,
prev = 0xffff88010af00448
},
tqent_id = 0,
tqent_func = 0,
tqent_arg = 0x0,
tqent_taskq = 0x0,
tqent_flags = 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment