]> git.proxmox.com Git - mirror_spl.git/commit - module/spl/spl-condvar.c
Add cv_wait_io() to account I/O time
authorMatt Johnston <matt@fugro-fsi.com.au>
Fri, 21 Dec 2012 02:29:16 +0000 (10:29 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 7 Jan 2013 18:29:26 +0000 (10:29 -0800)
commit46a75aadb7c08085a4ad2e55dcf5b6fb387c1253
tree98e1fdcd5cedba1f6e5920faa919db127b7f6232
parent02d25048d293a44001de6967872476f7d78e2397
Add cv_wait_io() to account I/O time

Under Linux when a task is waiting on I/O it should call the
io_schedule() function for proper accounting.  The Solaris
cv_wait() function provides no way to specify what the cv
is waiting on therefore cv_wait_io() is introduced.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #206
include/sys/condvar.h
module/spl/spl-condvar.c