/* ioc_set_batching sets ioc to be a new "batcher" if it is not one. This will cause the process to be a "batcher" on all queues in the system. This is the behaviour we want though - once it gets a wakeup it should be given a nice run.  */
static void ioc_set_batching(struct request_queue *q, struct io_context *ioc)
/* ioc_set_batching sets ioc to be a new "batcher" if it is not one. This will cause the process to be a "batcher" on all queues in the system. This is the behaviour we want though - once it gets a wakeup it should be given a nice run.  */
static void ioc_set_batching(struct request_queue *q, struct io_context *ioc)
{
	if (!ioc || ioc_batching(q, ioc))
		return;
	ioc->nr_batch_requests = q->nr_batching;
	ioc->last_waited = jiffies;
}