summaryrefslogtreecommitdiffstats
path: root/include/sys/zfs_context.h
diff options
context:
space:
mode:
authorMatt Johnston <[email protected]>2012-12-21 10:40:20 +0800
committerBrian Behlendorf <[email protected]>2013-01-07 10:52:52 -0800
commit72938d6905d9dcd60f7a5ff68ae469e74c248228 (patch)
tree7c1dca51b3f152a4a9930ab8e905905fd2726c6f /include/sys/zfs_context.h
parent72f53c5694bfd57b56e79fc3b7c4390bce4072d2 (diff)
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 <[email protected]>
Diffstat (limited to 'include/sys/zfs_context.h')
-rw-r--r--include/sys/zfs_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h
index ad282c43c..6b00a5d5d 100644
--- a/include/sys/zfs_context.h
+++ b/include/sys/zfs_context.h
@@ -322,6 +322,7 @@ extern void cv_signal(kcondvar_t *cv);
extern void cv_broadcast(kcondvar_t *cv);
#define cv_timedwait_interruptible(cv, mp, at) cv_timedwait(cv, mp, at)
#define cv_wait_interruptible(cv, mp) cv_wait(cv, mp)
+#define cv_wait_io(cv, mp) cv_wait(cv, mp)
/*
* kstat creation, installation and deletion