Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4087742iob; Sun, 8 May 2022 02:50:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPsnEmnoYBxn3rVqMvjn6FAcLdIXvvRIUWkv0ayycjzcrckP9y62xl31LTYhQR+LCPcsZV X-Received: by 2002:a05:6402:2363:b0:425:bc13:4c8b with SMTP id a3-20020a056402236300b00425bc134c8bmr12093567eda.140.1652003439846; Sun, 08 May 2022 02:50:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652003439; cv=none; d=google.com; s=arc-20160816; b=w2m+vJuGjOyev1p4IBGqod9scqCdkSpzXY1HJ5tU1EoEhnGm4ip09lq4Oh0k3RPodX ocY7aiq9IfsbgADKveljKvNP3kVVkgjPMP1XrmbvyY2paxmykm2PL8Ytz3HMG7xk8eSC 6EwyPEaEpaf03lYX8+n7wINDwYF50B4O1lV6bvTq1lMHBdLJrg5SEpnNOWbkuLsmnTwq 7HZlEWZaGGtpQsYgDvbkX9XGCQhbP8lKGAkAaczvzQEHtUVUJBQTkvKAjZ+toRnT2KC2 2fc4aPoQfrdSap0xj1lCy1N7Nnsf0X+fQ90L/yTl9a363DIcagX9gauISdtpPOY9F1wt RF7g== 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=yQEvZzOueWZpuHg+a7W+n0laUeSUADXRbshXPObf4DU=; b=WsSBX/P8aQ263EZ7scqxj3PTy0jWChyBZIap4tUOJzd800+ZGg52fxv4NQGPvn1nU5 YnMwkMQf+xlTw7VQ9ZdSEWwuIchnTEiz9RfSzD4zQ7Z3s08581PG1ChvECcybui0k+IF JKUx4K7qgHueQKfcHy38OkeFzO+bGzGqd4PFoDW7ZEBYk+ti9gblwtPft8HvEQ34RXn0 HzpJuKUnFgkfxr77EVu7+z+8niJnvDA+KDvbxxyuEjjXL+tTmUVoSaFNqjTao2/+LV6i AMq1f1qPEhSf/OcOsUJDHMrpkrcowcvpVbdwZLMrVXls1KU9ZxFzjzN0CRGKgsCkAQ5V 6qcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="uVWDH1F/"; 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 hv11-20020a17090760cb00b006df76385d68si1281812ejc.520.2022.05.08.02.50.16; Sun, 08 May 2022 02:50:39 -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="uVWDH1F/"; 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 S1354723AbiEELZW (ORCPT + 99 others); Thu, 5 May 2022 07:25:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236651AbiEELZT (ORCPT ); Thu, 5 May 2022 07:25:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B37F4EF56 for ; Thu, 5 May 2022 04:21:40 -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 4064C61CE6 for ; Thu, 5 May 2022 11:21:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E43AFC385A4; Thu, 5 May 2022 11:21:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651749699; bh=IEGwp11v+XWOBcZIXxbJqS0+XkO/ZxJHw7PTpy7YXkw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=uVWDH1F/bcDYSL1K2jAVsYwx5/Ue4/zMDYq9RD86PXqERhK1OvBTv9DZj0aZeU32u s3ibzjOX01kkdrb6lMVU++JepDSZVluYjc+w4G6rjtEZClVWi3WF1nvSQZ+xkvG3Vv NOB8Sj6qjI3Eh6Q4/WTxhjSCewUafhzC1gr7lN/36QzmPcc6Wir5tNyOuFpx4+i6BX iZLgMy5pkSVqlZGgPScNzsa4G66WoblShQXl7sOeAHYCfuqsAV1cijYohwCq2INy0e Ps6PJ/Co7z/i8BBeROx22t4vn9OJjT1jL3jT65bFjZ5/7sslKdgLIO5ohFy7oQ0gMr 6ILJoijzSFQQg== Message-ID: <5157b1b3-520a-769c-b031-5a9d1f7039dc@kernel.org> Date: Thu, 5 May 2022 19:21:37 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [f2fs-dev] [PATCH 1/2] f2fs: write checkpoint during FG_GC Content-Language: en-US To: Jaegeuk Kim , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Cc: Byungki Lee References: <20220503203040.365028-1-jaegeuk@kernel.org> From: Chao Yu In-Reply-To: <20220503203040.365028-1-jaegeuk@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-10.2 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/5/4 4:30, Jaegeuk Kim wrote: > From: Byungki Lee > > If there's not enough free sections each of which consistis of large segments, > we can hit no free section for upcoming section allocation. Let's reclaim some > prefree segments by writing checkpoints. > > Signed-off-by: Byungki Lee > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks,