[PATCH] md: Only checkpoint expansion progress occasionally
authorNeilBrown <neilb@suse.de>
Mon, 27 Mar 2006 09:18:12 +0000 (01:18 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 27 Mar 2006 16:45:02 +0000 (08:45 -0800)
commitb578d55fdd80140f657130abd85aebeb345755fb
tree3737b88a25b3fb1e3347cd1c4c274336aee6a462
parentf67055780caac6a99f43834795c43acf99eba6a6
[PATCH] md: Only checkpoint expansion progress occasionally

Instead of checkpointing at each stripe, only checkpoint when a new write
would overwrite uncheckpointed data.  Block any write to the uncheckpointed
area.  Arbitrarily checkpoint at least every 3Meg.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/raid5.c
include/linux/raid/raid5.h