Use cv_wait_io() which will will account for iowait
authorMatt Johnston <matt@fugro-fsi.com.au>
Fri, 21 Dec 2012 02:40:20 +0000 (10:40 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 7 Jan 2013 18:52:52 +0000 (10:52 -0800)
commit72938d6905d9dcd60f7a5ff68ae469e74c248228
tree7c1dca51b3f152a4a9930ab8e905905fd2726c6f
parent72f53c5694bfd57b56e79fc3b7c4390bce4072d2
Use cv_wait_io() which will will account for iowait

Update zio_wait() to use cv_wait_io() to ensure the iowait time
is properly accounted for.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
include/sys/zfs_context.h
module/zfs/zio.c