]> err.no Git - linux-2.6/commit
[PATCH] invalidate_bdev() speedup
authorAndrew Morton <akpm@osdl.org>
Sun, 30 Jul 2006 10:03:28 +0000 (03:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Jul 2006 20:28:38 +0000 (13:28 -0700)
commit0e1dfc66b6ec94984a4778132147a8aa36461d58
tree225a8e044e021a5a337704bc1f5ea862a5f75375
parenta268cefebceeb2046dfdfa301f041c2468536852
[PATCH] invalidate_bdev() speedup

We can immediately bail from invalidate_bdev() if the blockdev has no
pagecache.

This solves the huge IPI storms which hald is causing on the big ia64
machines when it polls CDROM drives.

Acked-by: Jes Sorensen <jes@sgi.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/buffer.c