Commit 96dfa04e authored by Charles Jacobsen's avatar Charles Jacobsen Committed by Vikram Narayanan
Browse files

pmfs: mount: Fix async ipc deadlock bug.

I wasn't acknowledging receipt of a couple responses, and the
async ipc buffer (the vfs tx buffer) slowly filled up after a
couple of test iterations.

But not all the way. It should be noted that if the async ipc
buffers are not big enough, you will get a deadlock. This is
because so many requests stay active before they are finally
ack'd with a response. This is due to the criss-crossing.
parent 79051932
......@@ -462,6 +462,7 @@ static int main_for_lcd(struct lcd *lcd)
for (;;) {
ret = run_once(lcd, &lcd_ret);
if (ret < 0 || should_stop(lcd)) {
return ret;
} else if (ret == 1) {
/* lcd exited */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment