Re: [PATCH] io stalls

From: Andrea Arcangeli (andrea@suse.de)
Date: Wed Jun 11 2003 - 20:37:36 EST


On Thu, Jun 12, 2003 at 03:29:51AM +0200, Andrea Arcangeli wrote:
> static void get_request_wait_wakeup(request_queue_t *q, int rw)
> {
> /*
> * avoid losing an unplug if a second __get_request_wait did the
> * generic_unplug_device while our __get_request_wait was
> * running
> * w/o the queue_lock held and w/ our request out of the queue.
> */
> if (waitqueue_active(&q->wait_for_requests))
> run_task_queue(&tq_disk);

btw, that was the old version, Chris did it right
s/run_task_queue(&tq_disk)/__generic_unplug_device(q)/

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:30 EST