Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1818136rdg; Sat, 12 Aug 2023 19:16:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEbCqidx3OOz5vtgVil+6xW0F48zbSNlgm5MR8qY/tsfHMVqdn4uUuWlJBmzHYNctZmWcAA X-Received: by 2002:a17:906:5391:b0:993:f611:7c97 with SMTP id g17-20020a170906539100b00993f6117c97mr6501952ejo.33.1691893012257; Sat, 12 Aug 2023 19:16:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691893012; cv=none; d=google.com; s=arc-20160816; b=oWheEXDankkehk4dNxie69dnR5FGQ7HaNDBMrEl15lXHkdMbnI/bnaDAQ53kOnk0Ef CHyndbIZl2EUfCOAfnfeS7zD1cdyxi7w5k8E2oCTEy+WdaZlC6o/I6jtm4oFZC94LGZb DO5RsO5DTapGPwRlyzz6i/HKO6UJEDeH+IcJhGOMkYTUJAzQJP9Fgfoy4RI2Iu16lx0L UbK/HlSyVyKk9P7jVjWk4jySYN0ASYbaPk5O3nOFtA78PxItckNZdxfBt4a4pjZetctW sN6Fwn9+wde+5OHVFTBjY62RoLGwEpdiCGDZTYWKmeoUU1SyVMc5QxyXQtuTuKuoZjOZ 04sA== 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=6h0KMZ1N2cFF6yc6G35DL+K6uZHzYdJpezNhD14gX1I=; fh=ApLIp1YEjFg1hkf07Nmct0KFWzTuynv3IQ6zm95OnCY=; b=D8nE29YXmTAVGUC5MKszNWvlpjHTY7UAUi3iSwuQMlnXlTbVi8zCUorSqptL9tMQxH WgV4af3/8LRzL7lBuvDfrSNERdwxz5sOLhCzfX2vtUE5+VWCNaPO9qQiGOWrhreBa6G2 C5clZ47X70hn0uuij4Q3dWgmc1TEFdTujx6GhyPpYLe+AjaS/IE2LWZ7UKBV+n+6/WD8 U4E3tYfBhxGmgUy3oxbnnkPNEkZbIJo5LMUptiANSa2J0jRmvu7pYAqydu5WlxYC8iJM Jjeq4/jY2rOmfItrmi4avWFChb+TeUF7V88bHOzs0HjKIpc+X6sspZUegLOMzE73oNna 0d9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bxLK+W8O; 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 jw26-20020a17090776ba00b0099bd39dcec3si5678258ejc.95.2023.08.12.19.16.27; Sat, 12 Aug 2023 19:16:52 -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=bxLK+W8O; 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 S229913AbjHMA1A (ORCPT + 99 others); Sat, 12 Aug 2023 20:27:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjHMA0h (ORCPT ); Sat, 12 Aug 2023 20:26:37 -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 BF3A0FC for ; Sat, 12 Aug 2023 17:26:40 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 562C061B29 for ; Sun, 13 Aug 2023 00:26:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3D6FC433C7; Sun, 13 Aug 2023 00:26:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691886399; bh=lk4ujpyD6hcWRHEtPzLbQveuf5POXSu2Rnzy7nxxUko=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=bxLK+W8ON2OpMQpgGPf38ohj4WTKOwBOU4tue1v4k8Wznf8M4yLN7/u/4UWe5wAkR R94tLHXwqsFXnTnq+V6j/w2zp+bjKSH9LnyeIDc6YKE4DR2xBWwNLtxS6PQi3+q1bW YMcdWmzX6Urkia1n3fBmwmrycPUZM98v01ZJ5wc/F0k6OqczwW8SGWoI4jymuWtEGG cjepx4D+k4H3lqXPT6Y7HYHGrVUCflqNR7iaBed68KJ1WRQ/ekAh6uXFSEmmZfFXV6 RNsTJcy1NpY6Ta2HPXlsvrLc/2fi1F4s6Qq3alANc9xEzEihIVPzPMLikkq/FxxGJq vQguKrARebhtQ== Message-ID: Date: Sun, 13 Aug 2023 08:26:36 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH] f2fs: should update REQ_TIME for direct write Content-Language: en-US To: Zhiguo Niu , jaegeuk@kernel.org Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, niuzhiguo84@gmail.com References: <1691656800-21616-1-git-send-email-zhiguo.niu@unisoc.com> From: Chao Yu In-Reply-To: <1691656800-21616-1-git-send-email-zhiguo.niu@unisoc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 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_BLOCKED,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 2023/8/10 16:40, Zhiguo Niu wrote: > The sending interval of discard and GC should also > consider direct write requests; filesystem is not > idle if there is direct write. > > Signed-off-by: Zhiguo Niu Reviewed-by: Chao Yu Thanks,