]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: write_cache_pages more terminate quickly
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 6 Jan 2009 22:39:11 +0000 (14:39 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 25 Jan 2009 00:41:48 +0000 (16:41 -0800)
commit44a8e3e280c666ab405953b2cb20709c44392cee
treea0a3d0e5473209c85bb14a947602db6dfdc911b3
parenta70a6c20de762257d778f719503837ce816e8f05
mm: write_cache_pages more terminate quickly

commit 82fd1a9a8ced9607312b54859572bcc6211e8919 upstream.

Now that we have the early-termination logic in place, it makes sense to
bail out early in all other cases where done is set to 1.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Dave Chinner <david@fromorbit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
mm/page-writeback.c