Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp45539rwe; Thu, 25 Aug 2022 23:46:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR6axsbApITtbZp8SsSQsCR5bJcbT+gR7Fh9WB6wUhUBmweLFaT2eL5/5O3gQTu1NUMnDxd+ X-Received: by 2002:a05:6402:5190:b0:447:284c:b3a9 with SMTP id q16-20020a056402519000b00447284cb3a9mr5632809edd.428.1661496409135; Thu, 25 Aug 2022 23:46:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661496409; cv=none; d=google.com; s=arc-20160816; b=Usub3xdhy4Mvmvj1DA6pGgmtF5tFu9H0avAroweEndsM3qHNF0vPi4vfxlllLDRG2f kHGYNtNVG0M7Ni/cP9SGldPKTVp3WoA5tz1Rqi5Uly51/VbtFsNG+vh1iV3PnKHksHsk PIkXegEJxxWP99JkUlYVDVmtMaTWg347LRcZ+bRCc3t9vr+aNHRiwSv3KFCSFsZ8Zgnx 0asdFEkCvAPDpli/gfupLMg4zoIfJpPeuJq9wBwgbSDsV/ncELOpTZJhiqUo5CiICXwf Eq8Jp0tS4YK1/oM+xB1Emkprmdo6brbjCPXEchJNR/S8jRexpToqmZnczLoj2+ABM/wg nIVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=15C1enDPB2E9G6/KrKgSyoDawkYdNbsR0XagJ+d2mQQ=; b=GkGGKrccxam/vs2RLTVvQulTpCPnSlwQG2TPGQxaLN7t5djicr7+XPMl5/6tNayCLS gpAO52kZabYK5DdKdmrsKqk9ttkOjV0ofh7khInn/W/QYXedlNbaypDrZ95ha2C/+tSs wkRKRy9JCmTzM0VKiEYMysheeJcYT23o3LGUDMWoBgmO6gb1LJQqivYI/HyVVm5qay2q QfK8Ot18mieLWuxbUlI2znt0+7CUuCQan0xw6x3ppxkWV1M53YbLgD2PkL2jl+rTOTT0 VPIzBc/y9O+gbZ0kTrUxuWlIxv8GqfYRsaJFByeFGiFji7xRFt/GQZD9H+f3buWiCkD8 ubNw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y9-20020a50eb09000000b00443e3fe60a0si808275edp.622.2022.08.25.23.46.23; Thu, 25 Aug 2022 23:46:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244982AbiHZGUG (ORCPT + 99 others); Fri, 26 Aug 2022 02:20:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244970AbiHZGT7 (ORCPT ); Fri, 26 Aug 2022 02:19:59 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0AD211C3F for ; Thu, 25 Aug 2022 23:19:58 -0700 (PDT) Received: from canpemm500006.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4MDV2v6s1Mz1N7LJ; Fri, 26 Aug 2022 14:16:23 +0800 (CST) Received: from [10.67.110.83] (10.67.110.83) by canpemm500006.china.huawei.com (7.192.105.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 26 Aug 2022 14:19:56 +0800 Subject: ping //Re: [PATCH v2 0/2] squashfs: Add the mount parameter "threads=" To: , CC: , , , , References: <20220815031100.75243-1-nixiaoming@huawei.com> <20220816010052.15764-1-nixiaoming@huawei.com> From: Xiaoming Ni Message-ID: <8d139f03-7845-9c96-fffc-74fdf8b5d78d@huawei.com> Date: Fri, 26 Aug 2022 14:19:55 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.0.1 MIME-Version: 1.0 In-Reply-To: <20220816010052.15764-1-nixiaoming@huawei.com> Content-Type: text/plain; charset="gbk"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.110.83] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To canpemm500006.china.huawei.com (7.192.105.130) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ping On 2022/8/16 9:00, Xiaoming Ni wrote: > Currently, Squashfs supports multiple decompressor parallel modes. However, this > mode can be configured only during kernel building and does not support flexible > selection during runtime. > > In the current patch set, the mount parameter "threads=" is added to allow users > to select the parallel decompressor mode and configure the number of decompressors > when mounting a file system. > > v2: fix warning: sparse: incorrect type in initializer (different address spaces) > Reported-by: kernel test robot > > v1: https://lore.kernel.org/lkml/20220815031100.75243-1-nixiaoming@huawei.com/ > ---- > > Xiaoming Ni (2): > squashfs: add the mount parameter theads= > squashfs: Allows users to configure the number of decompression > threads. > > fs/squashfs/Kconfig | 24 ++++++++-- > fs/squashfs/decompressor_multi.c | 32 ++++++++------ > fs/squashfs/decompressor_multi_percpu.c | 39 ++++++++++------- > fs/squashfs/decompressor_single.c | 23 ++++++---- > fs/squashfs/squashfs.h | 39 ++++++++++++++--- > fs/squashfs/squashfs_fs_sb.h | 4 +- > fs/squashfs/super.c | 77 ++++++++++++++++++++++++++++++++- > 7 files changed, 192 insertions(+), 46 deletions(-) >