Re: [patch] improve stripe_cache_size documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-dean

Signed-off-by: dean gaudet <dean@xxxxxxxxxx>

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 10:16:58.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
+
+  strip_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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux