diff options
author | Jan Kara <jack@suse.cz> | 2009-03-26 13:08:04 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-26 15:44:59 -0700 |
commit | 9e80d407736161d9b8b0c5a0d44f786e44c322ea (patch) | |
tree | 1d60b5b3e766cd123189278c3576f79d26315426 /kernel/lockdep.c | |
parent | 0384e2959127a56d0640505d004d8dd92f9c29f5 (diff) |
ext3: Avoid starting a transaction in writepage when not necessary
We don't have to start a transaction in writepage() when all the blocks
are a properly allocated. Even in ordered mode either the data has been
written via write() and they are thus already added to transaction's list
or the data was written via mmap and then it's random in which transaction
they get written anyway.
This should help VM to pageout dirty memory without blocking on transaction
commits.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/lockdep.c')
0 files changed, 0 insertions, 0 deletions