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 lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7F22CC27C53 for ; Fri, 7 Jun 2024 10:20:01 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1sFWhV-0003Fj-M7; Fri, 07 Jun 2024 10:20:01 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1sFWhU-0003Fb-4B for linux-f2fs-devel@lists.sourceforge.net; Fri, 07 Jun 2024 10:19:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fXVzFA8ekCaOObhktETICjicafpGnFxfMLMDPDZ6d8M=; b=cMY0PMWMhFzufDKTvRR9CTN2TZ nWXSm16uah2D6amGbKw+BMwnHGAWi4K1kK79TwZVhU+V8mY235u880Kp38p8yb2UkFK++TjVQdl8R /wBjtn8NQRCBFuvp5RELbTxxkXJXzyIs/iKUHdfGZNw7T9SYOWvGgewov7StWnfBCaBE=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fXVzFA8ekCaOObhktETICjicafpGnFxfMLMDPDZ6d8M=; b=nOJgQwnYaOruke0HNNdyePKit+ J6GK9L/sCZxpgklA6p7Moj+tBNSZ5p9WabZsX6M3m1G8EAkWBfc9zoX85GRfo3KUtNlx/aoiOGT0d 1TvBi98FNp+k2KQnr5ScgbIDJqJZLTtypP+TIyAZbvG+FKmN31peEL1xk0zVDejyZZbA=; Received: from sin.source.kernel.org ([145.40.73.55]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1sFWhT-0008IH-Iw for linux-f2fs-devel@lists.sourceforge.net; Fri, 07 Jun 2024 10:19:59 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 185BACE1CCA; Fri, 7 Jun 2024 10:19:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 809D7C2BBFC; Fri, 7 Jun 2024 10:19:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717755586; bh=UDRdVHfoeHw5GgESiTH5mQcIZFVsyDUAxraCIbMR2oA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=U9hMoU0qNRHOQN2vMmeLVwX8p2pufe+zrcuKIWL9+lJw0Pis0791dIqdpjeStjeZQ RIoCHCZ1IfgYyV1OUqfbP9HXZIXBkU3+QFLsJ1f4+ci7taYUdu4xjo24Txl+dy+sxi r7hXR1o/PKRB+ao4caQDvOjuHFJF2O04b1UD760+dB8JvW8YAVEqUrlk1SV47zMXDz XvmFWRgNdQ5bQ18mTdD+PPcbdurqYSjiMFy3djsLv5niCKBQtfjhufpkgL19sld3DD diKavsWdsXsaOIrPi9I8CWncGP0DyEKFpQBfknCd0wRPt7apdwClLLs6AE/oAPKD1N t6WKWBOLEndJA== Message-ID: Date: Fri, 7 Jun 2024 18:19:42 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Zhiguo Niu , jaegeuk@kernel.org References: <1717750830-15423-1-git-send-email-zhiguo.niu@unisoc.com> Content-Language: en-US From: Chao Yu In-Reply-To: <1717750830-15423-1-git-send-email-zhiguo.niu@unisoc.com> X-Headers-End: 1sFWhT-0008IH-Iw Subject: Re: [f2fs-dev] [PATCH V2] f2fs: enable atgc dynamically if conditions are met X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hao_hao.Wang@unisoc.com, ke.wang@unisoc.com, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 2024/6/7 17:00, Zhiguo Niu wrote: > Now atgc can only be enabled when umounted->mounted device > even related conditions have reached. If the device has not > be umounted->mounted for a long time, atgc can not work. > > So enable atgc dynamically when atgc_age_threshold is less than > elapsed_time and ATGC mount option is on. > > Signed-off-by: Chao Yu > Signed-off-by: Zhiguo Niu Reviewed-by: Chao Yu Thanks, _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel