Received: by 2002:a05:7412:9c07:b0:fa:6e18:a558 with SMTP id lr7csp125742rdb; Fri, 26 Jan 2024 23:05:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGval/bES+9ZdML9i9Jfu2FjNW2BQ9HzojwwsFgj5qwvrYWdB8ieK4c6GmHVQ3jDYmar/i2 X-Received: by 2002:a17:906:37d4:b0:a2c:f60d:576f with SMTP id o20-20020a17090637d400b00a2cf60d576fmr612596ejc.50.1706339120789; Fri, 26 Jan 2024 23:05:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706339120; cv=pass; d=google.com; s=arc-20160816; b=kJQRe15JwQI+v19t3VKHmJc7IKOiWp1vahBkSsRHj0URU0RJEmQuxFDq2hxxsdyn+p 4DtZKDxoWKVvClzfh62iY6DU5hz6bcDZebHoOZe7jghDWdzrz+F3l3r/DvepHzUJFhyv 4wzAf1s2tk5KdId/P5AH4W9XcC30mBXHmCIYmVtjMIs6NthJyGeclr3cxQ00u5d1b6Vb vKSA7Dkj6Jm2hMzK0Tp3R5OIEPbeF2NDw9wHOWPvpzLb9JTNGW9GyIHz7YI5hXMEHRXE yfFaCz/0Lv9MeqrvTDADL76xyYO7bVZci19JlFM5tWsMCf/OmQS0Aj5IbtaCdc50dc/6 DoVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UJhcIChyQ2GOu70fB3AQEEo9cS+cYeR56tueR0auTZ4=; fh=9LG85VeTehBjEW405SNyzCQRfViPS7TuAqiBQ55hKKw=; b=gz3ZcjtYl53Q6ho94JNq7qg6w4BnKXTPpo+LAgNpRU8GzKHn/M/kOzK4Zf2lI2mGbz Zisjsyx7JvS+AHQzDql7L458Y0EX0zeWhLLoxIOj7RsLz0E/gwRUIQcs7pMIx2esGoUS pBA7kkeeYyJaRQXE3ZzDSh58BRjkPQKMpORmiF7ZQBwxX7NSoJ1CbzpKu7lP4Ii6+NN1 AS//fcobI9xHTUaOulHfRLeEW8x4iI07BhswqiM/HFOe7bp35xuoAA9yr8iIE44JW2yN cLnXmUi1CfX0/PL30t4jkU53mIFiFYRyzPHxIp+kXFrFvAet5Ek9lwjnyuMF8CzPXvAC jJNw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ZMIGHA/j"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-41083-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41083-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id jp6-20020a170906f74600b00a3539ecebb1si397418ejb.31.2024.01.26.23.05.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 23:05:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41083-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ZMIGHA/j"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-41083-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41083-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 876791F232AA for ; Sat, 27 Jan 2024 07:05:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D3A321D6AA; Sat, 27 Jan 2024 07:05:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZMIGHA/j" 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 F3E18134BC; Sat, 27 Jan 2024 07:05:08 +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=1706339109; cv=none; b=c9i3twCoDVrwxAOowSw3TWfYcODXVFx9V6637h39urlJWT+xmdlTcqNTdWT0EOu5aoPIq1ZxYSbLCYK+suR2afDVee+nolInVq6gm7HlIBydhmpFGAbB7psWLc4AfsXX1GldNbMjsRESBqHX1kw+EspaUaKFHEklsG+s5c4V4cc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706339109; c=relaxed/simple; bh=ForPykU7IwFx2c1CLmNnFixuMgi+ep01OHJkD8/dsQY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jFvW0vq4Hh5Ub0xbuYLCH2BW6tILql+lt+VwWRRkHi0uslW1zgfOna3QyiAkfg1UWShhM01OsG1RMS6FCC3Ghdn27hqsJNJ+yPmEnruUbarI+oY2IqekGrXj5Hf3Y6BkGJMcxCVDQxT+LV8xOB+guNAv0Y4GK4hr8W4x7eu6yfo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZMIGHA/j; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14C19C433C7; Sat, 27 Jan 2024 07:05:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706339108; bh=ForPykU7IwFx2c1CLmNnFixuMgi+ep01OHJkD8/dsQY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZMIGHA/jRSUgkbd3OAZWX3lax3BmYcyT1+dqFBKGmWyJ3k79Zl7yA74B8UwxNbDC3 VoQvGbhhzKfhyPh5i+IqL0LUFCFVSiHIGlK+9MvFcps05gPX9KnhhpqX+jadG9Sgz0 +Hjbwv7JhuqRmsFgIYxdWvkb4QNAkrKQa6F3nRj8nAm8WABWS/yS41Vho3Y0VBWAmf r0L1J6LnOsN2lhW0PTYfi/X3T5cWc+M1utSPGC03PJAa9FNL6wl59gxWWPrq6j4kQD 5zlB91Qwa/RRdv7WqEX5damNjqiaznV9ii9d/wbBFtHBhXXQSENVdWtDS+7CKmWo2O 9Qk3l5TBid1aw== Date: Fri, 26 Jan 2024 23:05:06 -0800 From: Eric Biggers To: Luis Chamberlain Cc: Matthew Wilcox , Pankaj Raghav , Yangtao Li , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, vishal.moola@gmail.com, linux-mm@kvack.org, Adam Manzanares , Javier =?iso-8859-1?Q?Gonz=E1lez?= , linux-fsdevel@vger.kernel.org, Jaegeuk Kim Subject: Re: [PATCH] f2fs: Support enhanced hot/cold data separation for f2fs Message-ID: <20240127070506.GC11935@sol.localdomain> References: <20221130124804.79845-1-frank.li@vivo.com> 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 Fri, Jan 26, 2024 at 01:32:05PM -0800, Luis Chamberlain wrote: > On Fri, Jan 26, 2024 at 09:01:06PM +0000, Matthew Wilcox wrote: > > On Thu, Jan 25, 2024 at 12:54:47PM -0800, Luis Chamberlain wrote: > > > On Thu, Jan 25, 2024 at 08:47:39PM +0000, Matthew Wilcox wrote: > > > > On Wed, Dec 07, 2022 at 12:51:13PM -0800, Luis Chamberlain wrote: > > > > > Me and Pankaj are very interested in helping on this front. And so we'll > > > > > start to organize and talk every week about this to see what is missing. > > > > > First order of business however will be testing so we'll have to > > > > > establish a public baseline to ensure we don't regress. For this we intend > > > > > on using kdevops so that'll be done first. > > > > > > > > > > If folks have patches they want to test in consideration for folio / > > > > > iomap enhancements feel free to Cc us :) > > > > > > > > > > After we establish a baseline we can move forward with taking on tasks > > > > > which will help with this conversion. > > > > > > > > So ... it's been a year. How is this project coming along? There > > > > weren't a lot of commits to f2fs in 2023 that were folio related. > > > > > > The review at LSFMM revealed iomap based filesystems were the priority > > > and so that has been the priority. Once we tackle that and get XFS > > > support we can revisit which next fs to help out with. Testing has been > > > a *huge* part of our endeavor, and naturally getting XFS patches up to > > > what is required has just taken a bit more time. But you can expect > > > patches for that within a month or so. > > > > Is anyone working on the iomap conversion for f2fs? > > It already has been done for direct IO by Eric as per commit a1e09b03e6f5 > ("f2fs: use iomap for direct I/O"), not clear to me if anyone is working > on buffered-io. Then f2fs_commit_super() seems to be the last buffer-head > user, and its not clear what the replacement could be yet. > > Jaegeuk, Eric, have you guys considered this? > Sure, I've *considered* that, along with other requested filesystem modernization projects such as converting f2fs to use the new mount API and finishing ext4's conversion to iomap. But, I haven't had time to work on these projects, nor to get very involved in f2fs beyond what's needed to maintain the fscrypt and fsverity support. I'm not anywhere close to a full-time filesystem developer. I did implement the f2fs iomap direct I/O support two years ago because it made the fscrypt direct I/O support easier. Note that these types of changes are fairly disruptive, and there were bugs that resulted from my patches, despite my best efforts. It's necessary for someone to get deeply involved in these types of changes and follow them all the way through. - Eric