Print this page
3742 zfs comments need cleaner, more consistent style
Submitted by: Will Andrews <willa@spectralogic.com>
Submitted by: Alan Somers <alans@spectralogic.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
*** 1182,1198 ****
zio_taskq_dispatch(zio, ZIO_TASKQ_INTERRUPT, B_FALSE);
}
/*
* Execute the I/O pipeline until one of the following occurs:
! * (1) the I/O completes; (2) the pipeline stalls waiting for
! * dependent child I/Os; (3) the I/O issues, so we're waiting
! * for an I/O completion interrupt; (4) the I/O is delegated by
! * vdev-level caching or aggregation; (5) the I/O is deferred
! * due to vdev-level queueing; (6) the I/O is handed off to
! * another thread. In all cases, the pipeline stops whenever
! * there's no CPU work; it never burns a thread in cv_wait().
*
* There's no locking on io_stage because there's no legitimate way
* for multiple threads to be attempting to process the same I/O.
*/
static zio_pipe_stage_t *zio_pipeline[];
--- 1182,1201 ----
zio_taskq_dispatch(zio, ZIO_TASKQ_INTERRUPT, B_FALSE);
}
/*
* Execute the I/O pipeline until one of the following occurs:
! *
! * (1) the I/O completes
! * (2) the pipeline stalls waiting for dependent child I/Os
! * (3) the I/O issues, so we're waiting for an I/O completion interrupt
! * (4) the I/O is delegated by vdev-level caching or aggregation
! * (5) the I/O is deferred due to vdev-level queueing
! * (6) the I/O is handed off to another thread.
! *
! * In all cases, the pipeline stops whenever there's no CPU work; it never
! * burns a thread in cv_wait().
*
* There's no locking on io_stage because there's no legitimate way
* for multiple threads to be attempting to process the same I/O.
*/
static zio_pipe_stage_t *zio_pipeline[];