diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-10-16 23:30:37 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 08:43:02 -0700 |
commit | 670e4def6ef5f44315d62748134e535b479c784f (patch) | |
tree | 808b850c2f08c3d546f6ca06850815324cb770a3 /include/linux/pageblock-flags.h | |
parent | 65cb9b47e0ea568a7a38cce7773052a6ea093629 (diff) |
writeback: fix time ordering of the per superblock dirty inode lists 7
This one fixes four bugs.
There are a few situation in there where writeback decides it is going to skip
over a blockdev inode on the kernel-internal blockdev superblock. It
presently does this by moving the blockdev inode onto the tail of the blockdev
superblock's s_dirty. But
a) this screws up s_dirty's reverse-time-orderedness and
b) refiling the blockdev for writeback in another 30 second is rude. We
should try again sooner than that.
Fix all this up by using redirty_head(): move the blockdev inode onto the head
of the blockdev superblock's s_dirty list for prompt writeback.
Cc: Mike Waychison <mikew@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/pageblock-flags.h')
0 files changed, 0 insertions, 0 deletions