Messages in this thread | | | From | "Stephen C. Tweedie" <> | Date | Thu, 23 Sep 1999 18:00:30 +0100 (BST) | Subject | Re: Linux 2.2.13pre9 |
| |
Hi,
On Sat, 18 Sep 1999 18:29:11 +0100 (BST), Alan Cox <alan@lxorguk.ukuu.org.uk> said:
>> wakeup_bdflush-2.2.10-A: avoid a deadlock in wakeup_bdflush. >> run_task_queue() will sleep if we are flushing >> loop buffers to disk.
> Need to have a look at this in depth first.
Looks safe enough. wakeup_bdflush() doesn't need to run the disk task queue: the bdflush() code will do that itself just before going to sleep, and if bdflush blocks internally on get_request_wait (the only place where I think we can stall in a manner which might give us deadlock), then we do an automatic run_task_queue(&tq_disk) before waiting on the on the request wait queue.
--Stephen
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |