Currently, squashfs fragments' cache size is only determined by
config option CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE. Users have
no way to change the value when they get the binary kernel.
Now make it be configured during booting.

Signed-off-by: Qixuan Wu <[email protected]>
---
 Documentation/admin-guide/kernel-parameters.txt | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/admin-guide/kernel-parameters.txt 
b/Documentation/admin-guide/kernel-parameters.txt
index 0549662..67bab3b 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -3898,6 +3898,13 @@
        spia_pedr=
        spia_peddr=
 
+       squashfs.frags_cache_size=
+                       [SQUASHFS] The fragments' cache size. The value should
+                       be in the range of [3,99].
+
+                       The default value of this parameter is determined by
+                       the config option CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE.
+
        srcutree.counter_wrap_check [KNL]
                        Specifies how frequently to check for
                        grace-period sequence counter wrap for the
-- 
2.7.4

Reply via email to