From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935745AbdJRHrQ (ORCPT ); Wed, 18 Oct 2017 03:47:16 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:8934 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932533AbdJRHrO (ORCPT ); Wed, 18 Oct 2017 03:47:14 -0400 From: Qixuan Wu To: , CC: , , , , , , , , , , , Subject: [PATCH 0/2] Make squashfs fragments' cache size more configurable Date: Thu, 19 Oct 2017 07:50:58 +0800 Message-ID: <1508370660-6343-1-git-send-email-wuqixuan@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.54.50] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020201.59E706FE.0048,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 76b8c8ad6c2b4a00346bb87fbfb43deb Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, 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 when booting or inserting module. Actually, it's better that a config option in a number format in .config file cat be reconfigured during booting or inserting module. Thanks Qixuan Qixuan Wu (2): Squashfs: Let the number of fragments cached configurable Documentation/kernel-parameters.txt: Add kernel parameter of squashfs fragments' cache size Documentation/admin-guide/kernel-parameters.txt | 7 ++++ fs/squashfs/super.c | 43 ++++++++++++++++++++++++- 2 files changed, 49 insertions(+), 1 deletion(-) -- 2.7.4