diff for duplicates of <20090730010630.GA7326@localhost> diff --git a/a/1.txt b/N1/1.txt index a8f98e7..11d7178 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -2,15 +2,15 @@ On Wed, Jul 29, 2009 at 10:11:10PM +0800, Martin Bligh wrote: > > --- mm.orig/fs/fs-writeback.c > > +++ mm/fs/fs-writeback.c > > @@ -325,7 +325,8 @@ __sync_single_inode(struct inode *inode, -> > * soon as the queue becomes uncongested. -> > */ -> > inode->i_state |= I_DIRTY_PAGES; -> > - if (wbc->nr_to_write <= 0) { -> > + if (wbc->nr_to_write <= 0 || -> > + wbc->encountered_congestion) { -> > /* -> > * slice used up: queue for next turn -> > */ +> > A A A A A A A A A A A A A A A A * soon as the queue becomes uncongested. +> > A A A A A A A A A A A A A A A A */ +> > A A A A A A A A A A A A A A A A inode->i_state |= I_DIRTY_PAGES; +> > - A A A A A A A A A A A A A A A if (wbc->nr_to_write <= 0) { +> > + A A A A A A A A A A A A A A A if (wbc->nr_to_write <= 0 || +> > + A A A A A A A A A A A A A A A A A wbc->encountered_congestion) { +> > A A A A A A A A A A A A A A A A A A A A /* +> > A A A A A A A A A A A A A A A A A A A A * slice used up: queue for next turn +> > A A A A A A A A A A A A A A A A A A A A */ > > > > That's not sufficient - it only the problem in the wb_kupdate path. If you want @@ -82,3 +82,9 @@ Fengguang > redirty_tail(inode); > } > } else if (inode->i_state & I_DIRTY) { + +-- +To unsubscribe, send a message with 'unsubscribe linux-mm' in +the body to majordomo@kvack.org. For more info on Linux MM, +see: http://www.linux-mm.org/ . +Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> diff --git a/a/content_digest b/N1/content_digest index bb74d95..8eae042 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -20,15 +20,15 @@ "> > --- mm.orig/fs/fs-writeback.c\n" "> > +++ mm/fs/fs-writeback.c\n" "> > @@ -325,7 +325,8 @@ __sync_single_inode(struct inode *inode,\n" - "> > \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 * soon as the queue becomes uncongested.\n" - "> > \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 */\n" - "> > \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240inode->i_state |= I_DIRTY_PAGES;\n" - "> > - \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 if (wbc->nr_to_write <= 0) {\n" - "> > + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 if (wbc->nr_to_write <= 0 ||\n" - "> > + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 wbc->encountered_congestion) {\n" - "> > \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240/*\n" - "> > \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 * slice used up: queue for next turn\n" - "> > \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 */\n" + "> > A A A A A A A A A A A A A A A A * soon as the queue becomes uncongested.\n" + "> > A A A A A A A A A A A A A A A A */\n" + "> > A A A A A A A A A A A A A A A A inode->i_state |= I_DIRTY_PAGES;\n" + "> > - A A A A A A A A A A A A A A A if (wbc->nr_to_write <= 0) {\n" + "> > + A A A A A A A A A A A A A A A if (wbc->nr_to_write <= 0 ||\n" + "> > + A A A A A A A A A A A A A A A A A wbc->encountered_congestion) {\n" + "> > A A A A A A A A A A A A A A A A A A A A /*\n" + "> > A A A A A A A A A A A A A A A A A A A A * slice used up: queue for next turn\n" + "> > A A A A A A A A A A A A A A A A A A A A */\n" "> >\n" "> \n" "> That's not sufficient - it only the problem in the wb_kupdate path. If you want\n" @@ -99,6 +99,12 @@ "> + /* somehow blocked: retry later */\n" "> redirty_tail(inode);\n" "> }\n" - > } else if (inode->i_state & I_DIRTY) { + "> } else if (inode->i_state & I_DIRTY) {\n" + "\n" + "--\n" + "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" + "the body to majordomo@kvack.org. For more info on Linux MM,\n" + "see: http://www.linux-mm.org/ .\n" + "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" -96fb83c6b12afab0a1901bbd0884af201fbcbd502443dd60d118397003235abf +b8eeff53308f6e14f36f73fee97ced17dba910ae013ba0d696460a42a108a529
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.