]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:00 +0000 (15:59 -0800)
commit82fd1a9a8ced9607312b54859572bcc6211e8919
treefc537a866c670a4c54895a7f75b5ccfbdeeb034c
parentd5482cdf8a0aacb1e6468a97d5544f5829c8d8c4
mm: write_cache_pages more terminate quickly

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>
mm/page-writeback.c