Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp98762pxf; Tue, 16 Mar 2021 23:48:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTF05KZ741gkwLyRsCWhwBaBm04vmm2we1gR6vRd2iiRdhSDXjRUFBPgB2U0aKbfaSOfBt X-Received: by 2002:aa7:ca04:: with SMTP id y4mr39941895eds.339.1615963704930; Tue, 16 Mar 2021 23:48:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615963704; cv=none; d=google.com; s=arc-20160816; b=uRQZQgkobNt/pmz/mbpdyZ6mQshXPLZy1xBeMpxDw/LGCMUO8nVFM41imrWB5mNnY7 WfOCVVctV95JY45fg55Cud/s5BFAiSOs8nk3RMNonULRYWM+0MfucrhT5/iaRSGomGU+ XPlergR3Z0tOUuiDHESqMF1CtRjF4199t0irKolqVPp+im+Bu6yOG0r3bLMbvQDQNynU PDepmxVp6WS18wY8+yum/cRQTyVQwIUgd/KONhUTWTJ45S7hKlXsXJuH/gIYxSFGSv7f rXUisqHmxhM04NkZx7RpNx4OuzjxC8UzN1IiQVx/XhFr7sf82BGFvA+A680YGxApX/yr ZsSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=QKvqze+vcC3NKBKw142MaPDJd7OiP08NJZ8EixvX6Jo=; b=Z8RbANIwNKae2uH8AlCBnl/zlYJb0fJwGyi6tNOPP60GgZLn8N0wwDfJImXD+UTaso ckU4hTarMF6VR4D12LYXyjzabP/rp2q/ztZfVB+SHwa9Y4tfWVPJTRvGZv2ESTKamq0s wkIKkLJmLYnjdp3bwb/H1vTismzHqg+TU6UFxVgsV8pbQcjJbo7gDkNjlpKuDGH0N9P3 NhahJkCc8TRhAMQZHHbwWmhbIqssVvZ1/+fwVj10+9TFcbXXtoYiAqB1e64Xvmtd4WLJ VyETE7b4BlKxnplRWFMa2vKCZerqj2FqtRFnza1MtbkBQvKwz7ULHbL5HiskN9XtxRH5 Yjfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o11si15889123eju.241.2021.03.16.23.48.02; Tue, 16 Mar 2021 23:48:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230022AbhCQGo5 (ORCPT + 99 others); Wed, 17 Mar 2021 02:44:57 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:13948 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230020AbhCQGo0 (ORCPT ); Wed, 17 Mar 2021 02:44:26 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4F0gZg5H8VzkZ02; Wed, 17 Mar 2021 14:42:51 +0800 (CST) Received: from [10.136.110.154] (10.136.110.154) by smtp.huawei.com (10.3.19.203) with Microsoft SMTP Server (TLS) id 14.3.498.0; Wed, 17 Mar 2021 14:44:18 +0800 Subject: Re: [PATCH 1/2] erofs: use workqueue decompression for atomic contexts only To: Huang Jianan , CC: , , References: <20210317035448.13921-1-huangjianan@oppo.com> <20210317035448.13921-2-huangjianan@oppo.com> From: Chao Yu Message-ID: <0ea35878-61b8-35c3-4471-432c510389ec@huawei.com> Date: Wed, 17 Mar 2021 14:44:17 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20210317035448.13921-2-huangjianan@oppo.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.136.110.154] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/3/17 11:54, Huang Jianan via Linux-erofs wrote: > z_erofs_decompressqueue_endio may not be executed in the atomic > context, for example, when dm-verity is turned on. In this scenario, > data can be decompressed directly to get rid of additional kworker > scheduling overhead. > > Signed-off-by: Huang Jianan > Signed-off-by: Guo Weichao > Reviewed-by: Gao Xiang Reviewed-by: Chao Yu Thanks,