[PATCH] md: increase the delay before marking metadata clean, and make it configurable
authorNeilBrown <neilb@suse.de>
Mon, 26 Jun 2006 07:27:37 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:37 +0000 (09:58 -0700)
commit16f17b39f385212b73278a76d482cdcaaebe6c02
treeb7b79b380257e7438516a8b38cd9fbd33284f64f
parent9443a1d1f72c688646278c06d0a9a3c79e895325
[PATCH] md: increase the delay before marking metadata clean, and make it configurable

When a md array has been idle (no writes) for 20msecs it is marked as 'clean'.
 This delay turns out to be too short for some real workloads.  So increase it
to 200msec (the time to update the metadata should be a tiny fraction of that)
and make it sysfs-configurable.

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