]> git.hungrycats.org Git - linux/commit
[PATCH] direct-io invalidation fix
authorAndrew Morton <akpm@osdl.org>
Thu, 3 Jun 2004 01:05:20 +0000 (18:05 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 3 Jun 2004 01:05:20 +0000 (18:05 -0700)
commitde9aa967313bcc76b06aafc31f008119f9b716ee
tree8710fdc740367c7e396448d5d4ed13e96bbe4ece
parent2ba1bdccac7d4e36a1774b6ce335e95120717999
[PATCH] direct-io invalidation fix

clean_blockdev_aliases() is using the wrong thing to work out how many
filesystem blocks should be invalidated.  It invalidates too many, which can
cause live fs metadata buffers to be invalidated when they are pending
writeout.  It's a filesystem-wrecker, although seems very hard to hit.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/direct-io.c