Re: /proc/stat iowait?, io_schedule()

2009-03-30 Thread David Neiss
Mon, Mar 30, 2009 at 4:55 AM, David Neiss wrote: >> So, having kernel code which does: >> >> set_current_state(TASK_INTERRUPTIBLE); >> schedule(); >> >> causes blocking, as expected, and /proc/stat shows increasing idle >> task time and non increasing i

/proc/stat iowait?, io_schedule()

2009-03-29 Thread David Neiss
So, having kernel code which does: set_current_state(TASK_INTERRUPTIBLE); schedule(); causes blocking, as expected, and /proc/stat shows increasing idle task time and non increasing io wait time. Fine. Changing schedule() to io_schedule(), time now seems to be split between idle task and io_wait