/* This task is about to go to sleep on IO. Increment rq->nr_iowait so that process accounting knows that this is a task in IO wait state.  */
void __sched io_schedule(void)
/* This task is about to go to sleep on IO. Increment rq->nr_iowait so that process accounting knows that this is a task in IO wait state.  */
void __sched io_schedule(void)
{
	struct rq *rq = raw_rq();
	delayacct_blkio_start();
	atomic_inc(&rq->nr_iowait);
	current->in_iowait = 1;
	schedule();
	current->in_iowait = 0;
	atomic_dec(&rq->nr_iowait);
	delayacct_blkio_end();
}