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 6D066C87FCE for ; Mon, 28 Jul 2025 07:39:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:In-Reply-To:References:To:MIME-Version:Date: Message-ID:Sender:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=itG++RsxyaDFwpJJninpgeAsHh+W4hLlWNifOJVvIMA=; b=fzygSvHYvnDa98gFWHMr+gIfzE aufgPycyfPJd//hLnm3yNqYBMXUCBeZlCgqgTAcOQdnWHl9YDMS35AN20z9tVrHip2j+4L/kuuuV9 t5P5LtlpbT7s7BMLuONEIUr7hbkLek2VHCNE9iEbOcDLNvDw3WOlbNu/nlnps0RqoXwo=; Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1ugISf-0003ch-9P; Mon, 28 Jul 2025 07:39:54 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1ugISe-0003cW-Ev for linux-f2fs-devel@lists.sourceforge.net; Mon, 28 Jul 2025 07:39:53 +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:To:Subject:Cc: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=VHO2K1smNpCr0QRLKiEO0UJWkXgXXhvkml3oDD8qdv0=; b=A3eeB6zgfgPT62wBhKFCto5Kjg VYyYH0QwEKPbsW1FB/Wkugv8CBYoHf9sehWkia0WISkib91XVfv6Fxa9K9zgdWS4xVxwI/0SpY1+N fsNqQ5P7uC3g06AVwE15pX0jgTy6Pjg81AcyJA/QLN44BKV3fPxEd5ciiNgzm/TiNdkQ=; 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:To: Subject:Cc: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=VHO2K1smNpCr0QRLKiEO0UJWkXgXXhvkml3oDD8qdv0=; b=jJBO0Yz2gsP/neoF9aodNXkfAB Ruaoq2Q9oG0maI6GKoUdIPuFfjftkdq0Oxn1Sth4cjG8UxpjXJDId9qBTL5vKl+A0rynVTwpnyPvT lhflvXbKVELLLUjymDMCF+7cLJ6lsb9BuUzQJxNgYJAKQImo2PNz0gEhJSHAc1yZhvHo=; Received: from tor.source.kernel.org ([172.105.4.254]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1ugISe-0003lN-PT for linux-f2fs-devel@lists.sourceforge.net; Mon, 28 Jul 2025 07:39:53 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 1F095601E9; Mon, 28 Jul 2025 07:39:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B437DC4CEE7; Mon, 28 Jul 2025 07:39:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753688381; bh=xTEiG0sZVynldS/rvbgyjN1VXfeNS4PT9v90gfxqMJQ=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=GIkgLdttgxAO2HtwdcLhUal/VtWkP8SjHgHU7YI/2Lr8bWjiTw2mrhBj+WCAvWmJa dNqY1492XTVBcyTEzIrQBqW0l2NY+ah/gWf0gsCK1rp6Be9rSpZuTgogaHWwA1wUus TWyaWMG9NJbRn7qeJqAdz9tgUNEGnvZu6kpiWQWlOT5ZMgGKajSSqtC+Ms+LVYJAfs cvfX5oQ1FBa/RnCPTLFkANYxXBcc7Ga/KgXQpnkue+ZSGsAhqWyK/YKKYs3DC1zJb2 NZjwLf/4a0UBw2WyVgklM2eYH/72wA6PqpKd057fl9rpMV2ceHqlMSE6K3Ivu2FBI3 2Z1fhl5iHImGg== Message-ID: <426e38c2-17bd-4461-a4e2-79368ede6daa@kernel.org> Date: Mon, 28 Jul 2025 15:39:37 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: wangzijie , jaegeuk@kernel.org References: <20250728050237.1563560-1-wangzijie1@honor.com> Content-Language: en-US In-Reply-To: <20250728050237.1563560-1-wangzijie1@honor.com> X-Headers-End: 1ugISe-0003lN-PT Subject: Re: [f2fs-dev] [PATCH v3 1/2] f2fs: avoid redundant clean nat entry move in lru list 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: , From: Chao Yu via Linux-f2fs-devel Reply-To: Chao Yu Cc: linux-kernel@vger.kernel.org, feng.han@honor.com, linux-f2fs-devel@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 7/28/25 13:02, wangzijie wrote: > __lookup_nat_cache follows LRU manner to move clean nat entry, when nat > entries are going to be dirty, no need to move them to tail of lru list. > Introduce a parameter 'for_dirty' to avoid it. > > Signed-off-by: wangzijie 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 From mboxrd@z Thu Jan 1 00:00:00 1970 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 501B21862A for ; Mon, 28 Jul 2025 07:39:41 +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=1753688382; cv=none; b=N5jFNlm5OLyPd4mOYIi8MTgklJyMAiekVlSfVSm+droL6+4xZOAjS010rAHi465Cf3aMWkOvLcbDq3MoBF+sps9EhpsxR5zqOyIJWs97ZZMUYWwAzHLD4DodFhaqLu06ynvpVI5Dk5P17Gee6/nMxJCREGFkvk00ZvY2dv22awI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753688382; c=relaxed/simple; bh=xTEiG0sZVynldS/rvbgyjN1VXfeNS4PT9v90gfxqMJQ=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=BbqX11fg0LUL3SrW6ilEXewqh5wF2Q4zeLbEqOL1TndtJGCCIvS/1LzulR1eHvQbTgXhHeuIkfQ1e1ABAKI2xvL98wTgGFTIbY6it7lk55K1HnNJzfr6bQe6kQ/BIRxcb2+FPeOSfIW16xhG+sNRQfCfcXA+LBnE3Q3giELLicY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GIkgLdtt; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GIkgLdtt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B437DC4CEE7; Mon, 28 Jul 2025 07:39:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753688381; bh=xTEiG0sZVynldS/rvbgyjN1VXfeNS4PT9v90gfxqMJQ=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=GIkgLdttgxAO2HtwdcLhUal/VtWkP8SjHgHU7YI/2Lr8bWjiTw2mrhBj+WCAvWmJa dNqY1492XTVBcyTEzIrQBqW0l2NY+ah/gWf0gsCK1rp6Be9rSpZuTgogaHWwA1wUus TWyaWMG9NJbRn7qeJqAdz9tgUNEGnvZu6kpiWQWlOT5ZMgGKajSSqtC+Ms+LVYJAfs cvfX5oQ1FBa/RnCPTLFkANYxXBcc7Ga/KgXQpnkue+ZSGsAhqWyK/YKKYs3DC1zJb2 NZjwLf/4a0UBw2WyVgklM2eYH/72wA6PqpKd057fl9rpMV2ceHqlMSE6K3Ivu2FBI3 2Z1fhl5iHImGg== Message-ID: <426e38c2-17bd-4461-a4e2-79368ede6daa@kernel.org> Date: Mon, 28 Jul 2025 15:39:37 +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 Cc: chao@kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, bintian.wang@honor.com, feng.han@honor.com Subject: Re: [f2fs-dev] [PATCH v3 1/2] f2fs: avoid redundant clean nat entry move in lru list To: wangzijie , jaegeuk@kernel.org References: <20250728050237.1563560-1-wangzijie1@honor.com> Content-Language: en-US From: Chao Yu In-Reply-To: <20250728050237.1563560-1-wangzijie1@honor.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 7/28/25 13:02, wangzijie wrote: > __lookup_nat_cache follows LRU manner to move clean nat entry, when nat > entries are going to be dirty, no need to move them to tail of lru list. > Introduce a parameter 'for_dirty' to avoid it. > > Signed-off-by: wangzijie Reviewed-by: Chao Yu Thanks,