]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
md: reduce CPU wastage on idle md array with a write-intent bitmap
authorNeilBrown <neilb@suse.de>
Mon, 10 Mar 2008 18:43:48 +0000 (11:43 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 11 Mar 2008 01:01:19 +0000 (18:01 -0700)
commit7be3dfec4724c51e890455fe48fe188ad7c18b88
treec1843e80b9b4c1de6d7603753679044d6db4c18e
parent52720ae77d392d3f4c12281c37304edbc8cb51f1
md: reduce CPU wastage on idle md array with a write-intent bitmap

Recent patch titled
  Reduce CPU wastage on idle md array with a write-intent bitmap.

would sometimes leave the array with dirty bitmap bits that stay dirty.  A
subsequent write would sort things out so it isn't a big problem, but should
be fixed nonetheless.

We need to make sure that when the bitmap becomes not "allclean", the
daemon_sleep really does get set to a sensible value.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/bitmap.c