Deleted Added
full compact
zio.h (316849) zio.h (321529)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 361 unchanged lines hidden (view full) ---

370 * be able to propagate them to the parent. The normal io_flags are local
371 * to the zio, not protected by any lock, and not modifiable by children;
372 * the reexecute flags are protected by io_lock, modifiable by children,
373 * and always propagated -- even when ZIO_FLAG_DONT_PROPAGATE is set.
374 */
375#define ZIO_REEXECUTE_NOW 0x01
376#define ZIO_REEXECUTE_SUSPEND 0x02
377
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 361 unchanged lines hidden (view full) ---

370 * be able to propagate them to the parent. The normal io_flags are local
371 * to the zio, not protected by any lock, and not modifiable by children;
372 * the reexecute flags are protected by io_lock, modifiable by children,
373 * and always propagated -- even when ZIO_FLAG_DONT_PROPAGATE is set.
374 */
375#define ZIO_REEXECUTE_NOW 0x01
376#define ZIO_REEXECUTE_SUSPEND 0x02
377
378typedef struct zio_alloc_list {
379 list_t zal_list;
380 uint64_t zal_size;
381} zio_alloc_list_t;
382
378typedef struct zio_link {
379 zio_t *zl_parent;
380 zio_t *zl_child;
381 list_node_t zl_parent_node;
382 list_node_t zl_child_node;
383} zio_link_t;
384
385/*

--- 71 unchanged lines hidden (view full) ---

457
458 uint64_t io_offset;
459 hrtime_t io_timestamp;
460 hrtime_t io_queued_timestamp;
461 hrtime_t io_target_timestamp;
462 avl_node_t io_queue_node;
463 avl_node_t io_offset_node;
464 avl_node_t io_alloc_node;
383typedef struct zio_link {
384 zio_t *zl_parent;
385 zio_t *zl_child;
386 list_node_t zl_parent_node;
387 list_node_t zl_child_node;
388} zio_link_t;
389
390/*

--- 71 unchanged lines hidden (view full) ---

462
463 uint64_t io_offset;
464 hrtime_t io_timestamp;
465 hrtime_t io_queued_timestamp;
466 hrtime_t io_target_timestamp;
467 avl_node_t io_queue_node;
468 avl_node_t io_offset_node;
469 avl_node_t io_alloc_node;
470 zio_alloc_list_t io_alloc_list;
465
466 /* Internal pipeline state */
467 enum zio_flag io_flags;
468 enum zio_stage io_stage;
469 enum zio_stage io_pipeline;
470 enum zio_flag io_orig_flags;
471 enum zio_stage io_orig_stage;
472 enum zio_stage io_orig_pipeline;

--- 187 unchanged lines hidden ---
471
472 /* Internal pipeline state */
473 enum zio_flag io_flags;
474 enum zio_stage io_stage;
475 enum zio_stage io_pipeline;
476 enum zio_flag io_orig_flags;
477 enum zio_stage io_orig_stage;
478 enum zio_stage io_orig_pipeline;

--- 187 unchanged lines hidden ---