On Sun, 30 Dec 2007, dean gaudet wrote:
> On Sun, 30 Dec 2007, Thiemo Nagel wrote:
>
> > > stripe_cache_size (currently raid5 only)
> >
> > As far as I have understood, it applies to raid6, too.
>
> good point... and raid4.
>
> here's an updated patch.
and once again with a typo fix. oops.
-dean
Signed-off-by: dean gaudet <[EMAIL PROTECTED]>
Index: linux/Documentation/md.txt
===================================================================
--- linux.orig/Documentation/md.txt 2007-12-29 13:01:25.000000000 -0800
+++ linux/Documentation/md.txt 2007-12-30 14:30:40.000000000 -0800
@@ -435,8 +435,14 @@
These currently include
- stripe_cache_size (currently raid5 only)
+ stripe_cache_size (raid4, raid5 and raid6)
number of entries in the stripe cache. This is writable, but
there are upper and lower limits (32768, 16). Default is 128.
- strip_cache_active (currently raid5 only)
+
+ The stripe cache memory is locked down and not available for other uses.
+ The total size of the stripe cache is determined by this formula:
+
+ PAGE_SIZE * raid_disks * stripe_cache_size
+
+ stripe_cache_active (raid4, raid5 and raid6)
number of active entries in the stripe cache
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html