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 4F6D8CA0EED for ; Thu, 28 Aug 2025 15:23:26 +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:MIME-Version:References: Message-ID:To:Date:Sender:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=oIy5mUITZv7/duKCqRq4IVQfkPeVmOTvkw/qAinuEVU=; b=NgRoypbOtQ4mJ8vT26zSHrSyYC MO1fMfJyQ537w6LsZ4ZuI8yDs/uC7N7au0oOO+5F3JM4mL5ABUhE/AaHo2xKZQq2rQx0qJ5ey7r0c K+9Jyuv74uNVZ68h8tXu1wrunnjaLWeMsmneGzbHLhchpg8Pp3pmQhF+YmzVZFZcHFGM=; 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 1ureTE-00057D-AC; Thu, 28 Aug 2025 15:23:25 +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 1ureTB-00056u-So for linux-f2fs-devel@lists.sourceforge.net; Thu, 28 Aug 2025 15:23:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: 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=2b/dtXYWBln2J5oP8lc0EDeOJ5aUdHOcjZK+JPuyYmU=; b=QutxmI/ui4F97wJ9F2lR1sp8J1 PA3c/b3R/SxkLmP6tRUmWdyNP5pMb8g8TqJzZZXZehaTO4Ww5fVRMWkCzOzYn4sm4fBwTdehTvLwy Pcvmxmx9WA10HtTr3wJC4fejaHg0gmvWUDuYtxjTTih4X2FpwGwrvw7MRzFdN7+uTlBU=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding: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=2b/dtXYWBln2J5oP8lc0EDeOJ5aUdHOcjZK+JPuyYmU=; b=alx37aP8XO+qfmfV/D3EEfILdD aBbokTHpWvK5tIdmfDDpvbQRT2kMHFqFjJpwXCkBStOaJuTzWBygmS2OxPcw2guPoiOE9qFceZCE9 KpIZhPrTFNs4ZWXswl6URWK3UxowieHpk+9aHPTAW1bgabyxIU9nqGcxs7o0aKLP5xuk=; Received: from sea.source.kernel.org ([172.234.252.31]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1ureTC-0005R9-Au for linux-f2fs-devel@lists.sourceforge.net; Thu, 28 Aug 2025 15:23:22 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id F0129443A8 for ; Thu, 28 Aug 2025 15:23:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0ECBC4CEEB; Thu, 28 Aug 2025 15:23:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1756394591; bh=+IyXtugZDAwkV0nQVOTbTUtq9KhDGW63qq1hNOOYnJs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uy6xN7D1uOPIBoQpgwlyNsfJbS+24BQG0O5abid6fPCHXFDzeLcy4Ym4kxbZL2NCO S3h2n54MmM3T48+C1jFWBWr9F9DbvkZeM2OYuse4Rdtp/fFXGd7eX4ZKEt/X6yOM5J VjBbA6DTD5SfqExyUctidVjT7bsBDppv16ORj3xjUW66LSOI0Wv9KBvLBvFOXcqJZb U6/uAnEC9zkOmxV54EKHgPoBQHpsop0FueOxnuLcS6lZKwtNndYi6fYDIYrBCddfLJ Quq163YxqILJoCKX9DfmYUdDgpr5FSZgwoA74MrfHmOSRukdwdR1+Mt7jmTQNd3JqZ xXuT+V/FZYatw== Date: Thu, 28 Aug 2025 15:23:09 +0000 To: Chao Yu Message-ID: References: <20250827215222.1615844-1-jaegeuk@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Headers-End: 1ureTC-0005R9-Au Subject: Re: [f2fs-dev] [PATCH] f2fs: allocate HOT_DATA for IPU writes 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: Jaegeuk Kim via Linux-f2fs-devel Reply-To: Jaegeuk Kim Cc: linux-kernel@vger.kernel.org, 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 08/28, Chao Yu wrote: > On 8/28/25 05:52, Jaegeuk Kim via Linux-f2fs-devel wrote: > > Let's split IPU writes in hot data area to improve the GC efficiency. > > I didn't get it, IPU may be not friendly for migrating data along w/ write in > hot area? This deals with IPU in the LFS mode. > > Thanks, > > > > > Signed-off-by: Jaegeuk Kim > > --- > > fs/f2fs/segment.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c > > index e0f6589c6a1c..bb79dad55ac9 100644 > > --- a/fs/f2fs/segment.c > > +++ b/fs/f2fs/segment.c > > @@ -3688,7 +3688,8 @@ static int __get_segment_type_6(struct f2fs_io_info *fio) > > > > if (file_is_hot(inode) || > > is_inode_flag_set(inode, FI_HOT_DATA) || > > - f2fs_is_cow_file(inode)) > > + f2fs_is_cow_file(inode) || > > + is_inode_flag_set(inode, FI_NEED_IPU)) > > return CURSEG_HOT_DATA; > > return f2fs_rw_hint_to_seg_type(F2FS_I_SB(inode), > > inode->i_write_hint); _______________________________________________ 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 40E5C224AF0 for ; Thu, 28 Aug 2025 15:23:11 +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=1756394592; cv=none; b=MNTii1gXQ0xZo4AjUnaT5KyDcUMqsSWjVFckjCvSihr5rQ1zaoFYgckHOBIkrEK8qffp2dRRpA1QHe/dZ48CNRCa1rX5AChU48gODEGShyan6cnfBondj7gDCbKfznGysx4h2oK9nZ3HK+7OxRISXT/6w4QtYOuzZ+x/ibhG8S4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756394592; c=relaxed/simple; bh=+IyXtugZDAwkV0nQVOTbTUtq9KhDGW63qq1hNOOYnJs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qG5/6qFSNLY1XzRH+RbI9jDLTPT0RPSTV3SVv6AzbKBG+qSWOAloi6CBA788dg8bNcc0U39Dgd4FvPHrv1AzSBNYc90uZbLslhHvFopT/3v/y6MuLicpj4Ksic0kbDjDD3YO9zm8+lKBOXdfid1ndVm/oNfXg4Lq7k8ndGzXOGg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uy6xN7D1; 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="uy6xN7D1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0ECBC4CEEB; Thu, 28 Aug 2025 15:23:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1756394591; bh=+IyXtugZDAwkV0nQVOTbTUtq9KhDGW63qq1hNOOYnJs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uy6xN7D1uOPIBoQpgwlyNsfJbS+24BQG0O5abid6fPCHXFDzeLcy4Ym4kxbZL2NCO S3h2n54MmM3T48+C1jFWBWr9F9DbvkZeM2OYuse4Rdtp/fFXGd7eX4ZKEt/X6yOM5J VjBbA6DTD5SfqExyUctidVjT7bsBDppv16ORj3xjUW66LSOI0Wv9KBvLBvFOXcqJZb U6/uAnEC9zkOmxV54EKHgPoBQHpsop0FueOxnuLcS6lZKwtNndYi6fYDIYrBCddfLJ Quq163YxqILJoCKX9DfmYUdDgpr5FSZgwoA74MrfHmOSRukdwdR1+Mt7jmTQNd3JqZ xXuT+V/FZYatw== Date: Thu, 28 Aug 2025 15:23:09 +0000 From: Jaegeuk Kim To: Chao Yu Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH] f2fs: allocate HOT_DATA for IPU writes Message-ID: References: <20250827215222.1615844-1-jaegeuk@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On 08/28, Chao Yu wrote: > On 8/28/25 05:52, Jaegeuk Kim via Linux-f2fs-devel wrote: > > Let's split IPU writes in hot data area to improve the GC efficiency. > > I didn't get it, IPU may be not friendly for migrating data along w/ write in > hot area? This deals with IPU in the LFS mode. > > Thanks, > > > > > Signed-off-by: Jaegeuk Kim > > --- > > fs/f2fs/segment.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c > > index e0f6589c6a1c..bb79dad55ac9 100644 > > --- a/fs/f2fs/segment.c > > +++ b/fs/f2fs/segment.c > > @@ -3688,7 +3688,8 @@ static int __get_segment_type_6(struct f2fs_io_info *fio) > > > > if (file_is_hot(inode) || > > is_inode_flag_set(inode, FI_HOT_DATA) || > > - f2fs_is_cow_file(inode)) > > + f2fs_is_cow_file(inode) || > > + is_inode_flag_set(inode, FI_NEED_IPU)) > > return CURSEG_HOT_DATA; > > return f2fs_rw_hint_to_seg_type(F2FS_I_SB(inode), > > inode->i_write_hint);