Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6065282rwn; Mon, 12 Sep 2022 20:33:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR7/ZS/dynG/y8ifx7LnxkEYyL84gTRUp8roB8YifFfe170mhIJ21YEpBlOQ489F6hwUiD6B X-Received: by 2002:a17:906:fe46:b0:73d:939a:ec99 with SMTP id wz6-20020a170906fe4600b0073d939aec99mr20715636ejb.169.1663039992300; Mon, 12 Sep 2022 20:33:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663039992; cv=none; d=google.com; s=arc-20160816; b=yeqbH4wbgfzUj+24hyXCCTPOdIcEC4MmyqaAh+JJCuDsn4BRnhbmeXMDd4G1W0ZVKF aYkULNkPniPaMxZCiWNCIo+lFhqIE/B3yrnVOclR2WYjpschoDyEHIMhf1Ww2vaZRmHI kJIUTJPI6k2dYLeIfb7hMI4VzsOSlZU8Ah7bUXVNP6gcKUUKzyCmCOSn9powxt5D9MUV 6kY4Bnpr9Sstpb2l4nzKJvxW8AXmsgUxYc5ZUa2BmL0DSM21B2aUcS9Eh/KBdhpGwI7o w/XN4F4FvErWcIYn9Hx7bJ+dwcO+4ENSak+iargku06tq8U7bRw/mkwLVO/lKokkPr1M Bq7A== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=laBb88fssokdQlXMWLKOsnilq+hoBIJpUAtqkIcLvck=; b=TNVK2Gagokss5AtoLU4bUTpe+Mq2QP5HQdIeg36L/zQLzDNuTvh4qJPVa9nkrBWt/5 CjUMFMOTGi3sjysqghYFFjqVncpOynSrOFaopdX/Pit4s8YvP+9DAXP88KrUEjw+JWhU UBC86kM9hXIathLOmmMXJGDeFlaK3sJWwWJtFNF9nohgCnivU68pDUz+qVdCp3PHwoJA r+I+WpSQ0xGn/H+9x1uCkic3Vur8aM8gQegi9fvA/VWdkRs/+F73822LxPZDybOkdeTx 5gi/BNT3SLsfTTf3eqvF/54ANAF1SFIQeDDSDQt5+YPKDZRKsW3X6HsCwOzFnaRkvfsZ kCeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SX2HaEI7; 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 kw2-20020a170907770200b00741a0720a2bsi8076279ejc.814.2022.09.12.20.32.47; Mon, 12 Sep 2022 20:33:12 -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=SX2HaEI7; 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 S230151AbiIMDQE (ORCPT + 99 others); Mon, 12 Sep 2022 23:16:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229870AbiIMDQB (ORCPT ); Mon, 12 Sep 2022 23:16:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7226F543D4 for ; Mon, 12 Sep 2022 20:16:00 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 093C1612E4 for ; Tue, 13 Sep 2022 03:16:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 814A6C433C1; Tue, 13 Sep 2022 03:15:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663038959; bh=aTrY3NGN8P43xzKdOh0uIpOhrM/d4B6KbePZQKV8auE=; h=Date:Subject:To:References:From:In-Reply-To:From; b=SX2HaEI7Dduecanpggo3q8MAg0xshdOiuKeoJdqvSmcRKIv6Z4zYQmC6m/cPj3MQR Va/vttXGbbDJlBL39Oysk1ydOSjwtdtvI8UNrlwQ5tPfnWQor02GNhWQrsCEXc+d5f KEn943Ke6boqLix5pzyP6CmMncWw1Lg2cPh0v9QYeTsEd/tCQuj92yeYrrOyGD0YAt plUZTcyDuKiuQsJQHyMAggF25RfGqdLI+0p6+PfVG5fS4avI3sMEL9m5nQLp8BBfjD DAs/WmUHkXWJNSbbuTNW2H4cC3GnsMG2D6IC+brHzgBIV2QqaHZqjgv84+uHLnYLh8 vpEd0ECMoQ+LA== Message-ID: <7e0bd17e-f1e5-47fd-16c2-94921d772567@kernel.org> Date: Tue, 13 Sep 2022 11:15:55 +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] f2fs: increase the limit for reserve_root Content-Language: en-US To: Jaegeuk Kim , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net References: <20220823172124.2285995-1-jaegeuk@kernel.org> From: Chao Yu In-Reply-To: <20220823172124.2285995-1-jaegeuk@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-9.3 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,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 On 2022/8/24 1:21, Jaegeuk Kim wrote: > This patch increases the threshold that limits the reserved root space from 0.2% > to 12.5% by using simple shift operation. > > Typically Android sets 128MB, but if the storage capacity is 32GB, 0.2% which is > around 64MB becomes too small. Let's relax it. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks,