Messages in this thread | | | Date | Thu, 12 Jun 2003 03:37:36 +0200 | From | Andrea Arcangeli <> | Subject | Re: [PATCH] io stalls |
| |
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/
| |