From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 935B6C433F5 for ; Thu, 11 Nov 2021 02:15:46 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 04B9160FA0 for ; Thu, 11 Nov 2021 02:15:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 04B9160FA0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4HqQL84c91z2yPd for ; Thu, 11 Nov 2021 13:15:44 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=B7+hf8ui; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=198.145.29.99; helo=mail.kernel.org; envelope-from=chao@kernel.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=B7+hf8ui; dkim-atps=neutral Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HqQL455nxz2xDv for ; Thu, 11 Nov 2021 13:15:40 +1100 (AEDT) Received: by mail.kernel.org (Postfix) with ESMTPSA id 6B8E161208; Thu, 11 Nov 2021 02:15:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636596937; bh=JFfziBYp+5yDIiX5R0WhB6KaxkyNcCATSA7Yrupceos=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=B7+hf8ui7agF2AGfk4r9ofa+Z5zsDcPerr3Ip474NZ0DICBQ9wCRsPxB9MQJJ7fhp BfiMNXR5W2rr89wWgSeT410W3Hwa0YdYDYdAf/UgQ3jWTIgokNdCHDeY3VWtwAsHdF YfG4agNlHLX1YcWmkvidRmcT27TvLZnahxygKg2Ovp5X3JJp6rROYCk7wsI8YY46gw 3R3ObXT+P7AesDkBlBMVtHjsKAOANnG+gM15yaXj+zSQ/GPP7Xh9kSGVfInT46KLWe 2gs//Onbaptt9SQ/hBrBEri3quEBEV87bcIQtqtJ9kk9QgmdpsYM8R4t2gPR671JpQ 3pqbqkMBoU+Mg== Message-ID: Date: Thu, 11 Nov 2021 10:15:31 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: [PATCH v4 2/2] erofs: add sysfs node to control sync decompression strategy Content-Language: en-US To: Huang Jianan , linux-erofs@lists.ozlabs.org, xiang@kernel.org References: <20211109153856.12956-1-huangjianan@oppo.com> <20211110134846.2707-1-jnhuang95@gmail.com> <20211110134846.2707-2-jnhuang95@gmail.com> From: Chao Yu In-Reply-To: <20211110134846.2707-2-jnhuang95@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: linux-erofs@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Linux EROFS file system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yh@oppo.com, guoweichao@oppo.com, zhangshiming@oppo.com, guanyuwei@oppo.com Errors-To: linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Sender: "Linux-erofs" On 2021/11/10 21:48, Huang Jianan wrote: > From: Huang Jianan > > Although readpage is a synchronous path, there will be no additional > kworker scheduling overhead in non-atomic contexts. So add a sysfs > node to allow disable sync decompression. > > Signed-off-by: Huang Jianan Reviewed-by: Chao Yu Thanks,