Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp936878lqt; Fri, 7 Jun 2024 03:19:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWPgC+hIqTxyCBbByvKFRpMvVasdrBE8EHAscaxVs4rE6Daux0EfQVj5ZUmKJkwCfCzlBxjMz7/mwUSIJ3Q3VUOfWBbnqwLTMQek9IWyw== X-Google-Smtp-Source: AGHT+IGYeqkZ7u3lpseINQYzxh/lrXbfXclwiIx4uU2mzPZHQheBL/ywyO7DClDaEJDLX1+5gM7c X-Received: by 2002:a17:903:40c3:b0:1f3:830:783e with SMTP id d9443c01a7336-1f6d01554acmr30569015ad.20.1717755593547; Fri, 07 Jun 2024 03:19:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717755593; cv=pass; d=google.com; s=arc-20160816; b=wtoKbMwMlT2hiBsxkqjImXVkamWozr1yBICoOCPdlz5/VISetA4nTQVilc3rQhzzEf 6JpJsj2GeBy11Mm9e6sFQbz0B2EAsM+X7YMOfhu6eC3UNi/fiidElWN5qrlWVr0EXFdY kV0nJsIYJGJw57kZwekmkBcsdCzyrg9D/F/JUETsiSpA60k0PwztvcZO2byKEIokDujT sep/aBnEqMzQF+ffLmgNGN0eD/wroKdLXxeRzRGK7i9EmEkD2A7WPSCKdu0EoMONGAEa IE9IOrEozVHE7Xxef4dtUOMN+RTh3bXEK3QP6UD6EjCrfOTTI64dvb8uotlq/mH3EVcI dOfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=fXVzFA8ekCaOObhktETICjicafpGnFxfMLMDPDZ6d8M=; fh=Y5STH6ZohoUrWzNjspW3lGmQG8T+8musvCTlET9qHxc=; b=QIPnU+XbsGDEfIwlCIp349YXP/6e7uI3wNRuSahgQ19O+KGmQXy8LQRZmodJ6IR0XW EApyXh9gjnXiUBqfB//K8co/a+Pvgl0GeHVPE1vB5tXIsy6hGGz0x4kME34GlYsaOSFQ G2W+fheRWFw0nFsBXsnmF30CVvFq4DmuFkG191hwJBtBDqmJSTXkAvVLdRfPLSt39TeQ aOV90dOKwo+VnOJDdAYvMj8oVnZGLW3UhK5Dzy9IP3Fv0QJrOl3JZfHpHhMx4UxurBns Y/v6y7PrskvdvXgo/W7wPhqVvZvXYKh6Y1T09jdm8VrTxbYxMOfkiOQBl7TA+kZtB6JG bg4g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U9hMoU0q; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-205805-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205805-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f6bd76083esi21351145ad.65.2024.06.07.03.19.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 03:19:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205805-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U9hMoU0q; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-205805-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205805-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D67DD286435 for ; Fri, 7 Jun 2024 10:19:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 728A415AAD7; Fri, 7 Jun 2024 10:19:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="U9hMoU0q" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A0708433C7 for ; Fri, 7 Jun 2024 10:19:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717755586; cv=none; b=OwxCkPGoV9oFa9N43NsboqQlx00Nkhlm6QvZ2BxzMapYPOP4onqVwQfg/qesRC0zMLrYKUMFFz1J2meVxJHe1px9ygfJxXrN3m0sRBbnKJOTblwgnKitPPtB4OJWnt1SvhktdkmOcCr1/BX2T5Vsvu5CtUR1KkUPq31OI07DTjw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717755586; c=relaxed/simple; bh=UDRdVHfoeHw5GgESiTH5mQcIZFVsyDUAxraCIbMR2oA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=IzlZfTcHDwkQkp09D/XP0QCyg+beo+YzBa7kaUWdqW8nnlLInsX1nSSnL4peg5BqiuXepEU9/lUuD4m32r648OveHUIPIWK+128DaHUUmHY7ZM2zRrvtUlRhrd0N5l2XFDfqYIfZ8dNmzIHEBewbznAoAJkDo49dRTPvj67HJlM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=U9hMoU0q; arc=none smtp.client-ip=10.30.226.201 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V2] f2fs: enable atgc dynamically if conditions are met To: Zhiguo Niu , jaegeuk@kernel.org Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, niuzhiguo84@gmail.com, ke.wang@unisoc.com, Hao_hao.Wang@unisoc.com 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> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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,