Commit cbba4f5e authored by Andrew Morton's avatar Andrew Morton Committed by Andy Grover

[PATCH] loop deadlock fix

This chunk is present in 2.4, missing in 2.5.  It
stops the loop thread from waiting on its owm buffers.
parent e28fa96f
......@@ -995,7 +995,7 @@ static int balance_dirty_state(void)
/* First, check for the "real" dirty limit. */
if (dirty > soft_dirty_limit) {
if (dirty > hard_dirty_limit)
if (dirty > hard_dirty_limit && !(current->flags & PF_NOIO))
return 1;
return 0;
}
......
Markdown is supported
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