Update zio.c

The cv_wait_io is used to account io time instead of cv_wait.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1566
This commit is contained in:
Shen Yan 2013-07-03 10:00:16 +08:00 committed by Brian Behlendorf
parent e77aa730bc
commit 8e07b99b2f

View File

@ -1248,7 +1248,7 @@ zio_interrupt(zio_t *zio)
* 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 CPU work; it never burns a thread in cv_wait_io().
*
* 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.