Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7996116rwi; Tue, 25 Oct 2022 00:41:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM40Rkt/jimwxLJeRs5gvtAZmYxN9BV/33Eco7z5gJjDChFfR+uEPmCrF49XiwuCYMUfqqVR X-Received: by 2002:a17:90a:5781:b0:20a:9962:bb4a with SMTP id g1-20020a17090a578100b0020a9962bb4amr76779845pji.185.1666683681111; Tue, 25 Oct 2022 00:41:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666683681; cv=none; d=google.com; s=arc-20160816; b=gwLY+ZPALveoKDYcfwxFh+i5IhJhQRqBJbFNILwurLddbiF01O1+SB1493tJVP0YKa sHOi7ATq7/tIb9wubYpgmPYY3VWBdufBnGmqfHXvelvj/KhfJbpLUbtSwprJYUCrfuY0 w2S6Q62z5F0JQdsT+YGh9MjAb9MQX8xZ4HNF8kvRauFoO6dnv+DFiRm12koqt7mK/V3f qTSy5CkSHtBMnGlNJbkCgS013uFP3vlV21d7rsB/Ht5EWYh0rFFQSAeGkcCt2h/V52OU Il71XlmNIoRHzgf+0CHB+Hq0VOW/3e50lukK+Mbo5pH3L00g6fetDLkjF9WPCHlbU2Kn 4K/w== 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=Ehi+LvsD9YUDzqPNOcSLLhdfiTtrCCKmSx1ajcATEyY=; b=F1QPkjb0aGcCV7L8yICz7vqDeRhZQPapmsC0XKkVD+T0KoqKk/gQz6h3jjipVRlQP9 E/nAONwoeWeWgeWOG3JrleU2dEO7PjJMgQg+eTIiCOJX1eyQsmZl9UXcP1tRGijDBOuL C7Bwk4lkTEvNZZY4c7jgBlhdQsC0XSzlybO+wO4SGlMvsX4znMoinQ9dss0vqA0rYKAp DEngbq3htlQpmhP9LTeYsWsKxLCc3hPHui2WK/piN+JGjdXSZ3XK66OzXDshtESnlWah +zj0W/pC2wvi/Iif/DOv4FHyDA/38p+vmO2+XPKprsgMiDqCmr8yUTVPS6v3lSlYx5i2 6VSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UbBtBHL8; 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 y15-20020a17090322cf00b0017f74f27a53si2418253plg.91.2022.10.25.00.41.08; Tue, 25 Oct 2022 00:41:21 -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=UbBtBHL8; 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 S231895AbiJYHfC (ORCPT + 99 others); Tue, 25 Oct 2022 03:35:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232000AbiJYHeQ (ORCPT ); Tue, 25 Oct 2022 03:34:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17B4514D8E9 for ; Tue, 25 Oct 2022 00:34:04 -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 350AE617B0 for ; Tue, 25 Oct 2022 07:34:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B9BFC433C1; Tue, 25 Oct 2022 07:34:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666683243; bh=NcRaNLmBZOsJOGIc24y8WcRzr4vKPzeQM9yCUXgw2n4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=UbBtBHL84PpfTDG2QTFSgIKReaZiBNj0KWsHDbn0nYUxeEQcLRDeboq7qyiuDcE6K QapIbFjKuNwJwkUfoWO1Az1MBvAPtEWTaN7exsnjNJkdyu/1J9/jOjfMEVGr2JujIp ybZdVZFAPnwdnJLQujtaKz5r1jwDgjX67PV1CYbR80d3z2Ez/Du3zHzZlAtZ4hWtEQ lzV1Uv+KzyPjBgfJW53cmRiT3nXViKsIKFTlkjl/Zqcyk9Eq26zhqPpfO/1FbJhH6/ X2ji6qFTJzExLDPgvAHdk/XzEWFc5D5Bm7UpZJKRoflp6JzExdcG2JDfTEukKXhIxe YbDLH14/4w7JQ== Message-ID: Date: Tue, 25 Oct 2022 15:33:59 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH v2 1/2] f2fs: fix gc mode when gc_urgent_high_remaining is 1 Content-Language: en-US To: Yangtao Li , jaegeuk@kernel.org Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org References: <20221025065025.35017-1-frank.li@vivo.com> From: Chao Yu In-Reply-To: <20221025065025.35017-1-frank.li@vivo.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/10/25 14:50, Yangtao Li wrote: > Under the current logic, when gc_urgent_high_remaining is set to 1, > the mode will be switched to normal at the beginning, instead of > running in gc_urgent mode. > > Let's switch the gc mode back to normal when the gc ends. > > Fixes: 265576181b4a ("f2fs: remove gc_urgent_high_limited for cleanup") > Unneeded empty line here, it's trivial though... > Signed-off-by: Yangtao Li Reviewed-by: Chao Yu Thanks,