Update zio.c
authorShen Yan <shenyanxxxy@qq.com>
Wed, 3 Jul 2013 02:00:16 +0000 (10:00 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 9 Jul 2013 17:41:46 +0000 (10:41 -0700)
The cv_wait_io is used to account io time instead of cv_wait.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1566

module/zfs/zio.c

index 8cf0408..0bc19a7 100644 (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.