Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2657982iog; Sun, 26 Jun 2022 23:27:30 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vXuh95RtDg8RkfbJF7CFgFpoSL/2v0n85ZnXMc06Q2vGcqaFBsoLV2QFDtqT6bQunkHXTh X-Received: by 2002:a17:906:3ed5:b0:6f5:108c:a45 with SMTP id d21-20020a1709063ed500b006f5108c0a45mr11315754ejj.623.1656311250690; Sun, 26 Jun 2022 23:27:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656311250; cv=none; d=google.com; s=arc-20160816; b=KnoZkKRqokefk7OjKH9bdWlQ6DP0UbF4D05qu7NBWEIcZDD6K8TwiT1cFp1l8ZdEGT /vL4EmzyOX8jTle0+evn1JwmZa02CWeksDA4AaEcCSyXADIMqWC0c2e/yHmGvvWUFkU1 oPg0awy1qfKRB05YTC1D0rJT3dSPzKD7bFMA/DMWChGLajIhFLsfxsYNofKln3RV+OWm Jet7HqvfZqK9BxZLcvFNcga03w31BrlMAvtH6Oj7FrqIkoh9JtFnyx8eYrmTyGQAyhfb ZvCdtsbo8WbAuUlqWwZw3eUn+zTh04So7I+8Nay//71A4VqKJUat19m+WGGWkBIW3gP0 rD0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ASifFESpZOieE0Fzuqp+PoIeF1tH37q/C6uEB2xMSlw=; b=a/26o/IOyd6l9z1eyPWuslUCTA6uHOsmLokgNit3OGUk2vTfsz0DNgoTUpIh39nbYm UntFWM6tZUYng5u/pnciaA5a8WjEurqt7JHBIVKnc5njdHsS4weAprwWbrg+2/1DfYbR PPKv4vCowVJFnpwl2Ub+6YI4BhH6gS/nBshc7lKRKpiNoj2tvMRPccLUcIB4og29Osku gRKyDCX1Vw9bjnxqnp+VS82DPpabziwgbtFDF/arxk3nNgCYMNzUJ3R2PGHvJwnKTDoa +sYgNz8GaLMboI80uVVZyKJAzlyKdgSDzRz9YLjdj9xonaW9BeECKaZQMFv6O4N/x9HD OPUA== 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=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he7-20020a1709073d8700b007046fc0f0ccsi11774399ejc.320.2022.06.26.23.27.06; Sun, 26 Jun 2022 23:27:30 -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=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232273AbiF0GPj (ORCPT + 99 others); Mon, 27 Jun 2022 02:15:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231913AbiF0GPi (ORCPT ); Mon, 27 Jun 2022 02:15:38 -0400 Received: from out30-54.freemail.mail.aliyun.com (out30-54.freemail.mail.aliyun.com [115.124.30.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07D522AE8 for ; Sun, 26 Jun 2022 23:15:37 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R931e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0VHTNMzH_1656310531; Received: from B-P7TQMD6M-0146.local(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VHTNMzH_1656310531) by smtp.aliyun-inc.com; Mon, 27 Jun 2022 14:15:33 +0800 Date: Mon, 27 Jun 2022 14:15:31 +0800 From: Gao Xiang To: Yue Hu , Yuwen Chen Cc: xiang@kernel.org, linux-erofs@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] erofs: Wake up all waiters after z_erofs_lzma_head ready. Message-ID: References: <20220625145000.2720-1-chenyuwen1@meizu.com> <20220627135754.00000999.zbestahu@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220627135754.00000999.zbestahu@gmail.com> X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 On Mon, Jun 27, 2022 at 01:57:54PM +0800, Yue Hu wrote: > On Sat, 25 Jun 2022 22:50:00 +0800 > Yuwen Chen wrote: > ... > > > > Signed-off-by: Yuwen Chen > > --- > > fs/erofs/decompressor_lzma.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/fs/erofs/decompressor_lzma.c b/fs/erofs/decompressor_lzma.c > > index 05a3063cf2bc..5e59b3f523eb 100644 > > --- a/fs/erofs/decompressor_lzma.c > > +++ b/fs/erofs/decompressor_lzma.c > > @@ -143,6 +143,7 @@ int z_erofs_load_lzma_config(struct super_block *sb, > > DBG_BUGON(z_erofs_lzma_head); > > z_erofs_lzma_head = head; > > spin_unlock(&z_erofs_lzma_lock); > > + wake_up_all(&z_erofs_lzma_wq); > > > > z_erofs_lzma_max_dictsize = dict_size; > > mutex_unlock(&lzma_resize_mutex); > > Please do not end the summary line(title) with a period. Okay, that is a good point, also it'd be better to de-capitalize the 'W' in "Wake" since they are common practices for kernel patches. If it's convenient to you to send another version, please go with my r-v-b tag. Thanks, Gao Xiang