Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp1990464imi; Sun, 24 Jul 2022 03:42:40 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uwKrFoQeEm3V/VB3sMeW1XEx2iVQ2WW7JJnGnrZvUO3AzQP/CV3u8DGMLgO0KUrrVQuLWR X-Received: by 2002:a63:4c4d:0:b0:41a:a125:60c9 with SMTP id m13-20020a634c4d000000b0041aa12560c9mr6773864pgl.329.1658659360038; Sun, 24 Jul 2022 03:42:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658659360; cv=none; d=google.com; s=arc-20160816; b=JGAf+2yArvEs/s3+eGSG5aEuT1f9EhjHAyfOGiMTweVRttO1OdsbUQBqLKW2rlcIRg ADReBVoo4oByNL4Y0ZU1wsk3QSWTFIHLq0AdC/XbL2Zsbwe/gSbHRC6MtulOYuQIOJai ZyvvVNezkrSLdA6NkrdTSR/2U841hjHjQoBhcrIyHxFrP6aVFBPcLH0aAEw/CwXq3hA8 NC9AlWXWJ1r5K1OVyLHLqQPqVPpZiFuPfWbYXqYdRSc8nlfTP4QeJTOSk+j8MpQ90FNL gN15busGgkShNfZYBBLYfktpeHrdDRbvvr1b1PhvAfI6cu8hlVMSkJ+RLOXOSHRiYBT3 Ywiw== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=mCJ8O6n718CaqNanEcifkxPmShDkLn7eu59EfCxEUqY=; b=Jx3ya/IssmU+IukV6GrMxYGosXArP4TODfiH3pKMJjmN3XTyWp1k1DTQH5YqH06NqY Wja17UVhrVpeIkPhkiA4SIIGvNmv21bWgsbnn+0vE9wRe3zRpKBXCtookNbHk0bd4jkR nIX3zjqOPNrh0eM8+sWrYIgqzV9v8UdBOLUjrIyq49XoeRPzYfR6pBtum/CT0/uavKtw 9fzvDrf5xNABlb6NTl53N6x57/EOf0dk1AHmd2FWZ+FX/PAOhtcx/sHkQjYS9n0moLNT nPQ3xTHT3dVBRsPVXSY/8/HMsBHTRF+U1w25ll5RyvCX/C1JxMPYdv8QGKsGXSVKk3hC 53Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Raxrsc+7; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i22-20020a635416000000b0040d7ac04fafsi11502175pgb.36.2022.07.24.03.42.24; Sun, 24 Jul 2022 03:42:40 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Raxrsc+7; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231591AbiGXKYf (ORCPT + 99 others); Sun, 24 Jul 2022 06:24:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229513AbiGXKYe (ORCPT ); Sun, 24 Jul 2022 06:24:34 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6178C13F20 for ; Sun, 24 Jul 2022 03:24:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 1114AB80D49 for ; Sun, 24 Jul 2022 10:24:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3B23C3411E; Sun, 24 Jul 2022 10:24:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658658270; bh=5DOYKUlvLL6Z7uuzGBjXxGmpXeL6qIJ3XVc6PX9tsnk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Raxrsc+7mEDMv1BPbOuxpY1ikf40AGeqxzLOhCWKvMRfAeMNYYjCWwom7iCE6HYge yCeIuerQeACmZThQiy8QO7C1Uc1K6S1DQnJKcHbcCRfNAsmQWl2ItUMj692FYX0JEa WidPt1v+r9lgWif+qvaLagiOUmI67i6js3d11NsoSGo2qeEB6PSWCrmKM4zVORhs89 41YKv+IxoTnpyWgX1YQkewyqyudCpDdhCboRL2JouQs8evZzWrGQQ3Dyvhnr7Saovm m5QmSUKHSmWhWrFnoSYKPFxtjO/Ii4pwW5p58p1lMcnR46IJH6LeHUFUjC1TXtadei Ntz/HYtxJ0PWQ== Message-ID: <722deaed-6595-f6e8-b7d3-348a94719620@kernel.org> Date: Sun, 24 Jul 2022 18:24:27 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [f2fs-dev] [PATCH 1/2] f2fs: introduce memory mode Content-Language: en-US To: Daeho Jeong , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com Cc: Daeho Jeong References: <20220620173843.1462198-1-daeho43@gmail.com> From: Chao Yu In-Reply-To: <20220620173843.1462198-1-daeho43@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS 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 2022/6/21 1:38, Daeho Jeong wrote: > From: Daeho Jeong > > Introduce memory mode to supports "normal" and "low" memory modes. > "low" mode is to support low memory devices. Because of the nature of > low memory devices, in this mode, f2fs will try to save memory sometimes > by sacrificing performance. "normal" mode is the default mode and same > as before. > > Signed-off-by: Daeho Jeong Reviewed-by: Chao Yu Thanks,