invalidate_bdev() speedup
authorAndrew Morton <akpm@osdl.org>
Sun, 30 Jul 2006 10:03:28 +0000 (03:03 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Aug 2006 03:52:14 +0000 (20:52 -0700)
commitb02ef087a8379fc757b894d6d2e0deff79ccdf20
tree79be80a1e34326d9ad924a46db62227e80fae040
parentcd62705f099033ea8aeeb47688f4572b3532db93
invalidate_bdev() speedup

We can immediately bale 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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/buffer.c