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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77278CCD192 for ; Wed, 18 Sep 2024 09:51:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E2C7D6B0082; Wed, 18 Sep 2024 05:51:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id DDBEF6B0083; Wed, 18 Sep 2024 05:51:19 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CCB066B0085; Wed, 18 Sep 2024 05:51:19 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id AE1FC6B0082 for ; Wed, 18 Sep 2024 05:51:19 -0400 (EDT) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 0F18F4044F for ; Wed, 18 Sep 2024 09:51:19 +0000 (UTC) X-FDA: 82577391078.09.F0F9B90 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf10.hostedemail.com (Postfix) with ESMTP id 62F82C0005 for ; Wed, 18 Sep 2024 09:51:17 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=ODkjPOlU; spf=pass (imf10.hostedemail.com: domain of brauner@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=brauner@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1726653020; a=rsa-sha256; cv=none; b=Gz3BS1wdv0LRDxYFyIvrHDu1KwPknJqWRX11qf/dOw4PJxijgCeN32zzA2pazu6pFkAXbp s/CM5syroQfqZzoeHDp+8UF64KCDj/+Us/snJFDLmPSAdiecMwoUwsQTXHFDkreTKkw+BZ KHifF5ho7pVez24MBuKx0IoBF/y0kQk= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=ODkjPOlU; spf=pass (imf10.hostedemail.com: domain of brauner@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=brauner@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1726653020; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=xZAUDKhUIhY4uQ8WxjJ4YV3ZHxhIF+N9phCK5V/K/IE=; b=YfTg64jbzVjQKLEC+ve11iPgroaetlTUprpldSrBGzrFMBOu6WuD/PgzXo8T5x9D1Muag6 pIpw/gL93mBRVc2Y6Dr7+eL5r7hDri90mc/R7SUPUKfJs6OgojsTTBFgXFAdkdti+uYazb uYRAKPUZDR1tjARepPgFQh0esH3Eork= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 7A1875C5A8C; Wed, 18 Sep 2024 09:51:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E97ABC4CECF; Wed, 18 Sep 2024 09:51:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726653075; bh=L28pSEH2Qs5aYQHvisV8vDOvgSb7Lbzbx9KlpIjyxG0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ODkjPOlUTZmXZB+TH1d/ul+Smkw5Y03ibLg63CmNrHfAikVkAyIZoHeYaZv0nfz41 xKWykYRjXfzAUlx0JJC96cScMJRlJWTPVSHPQ5F65+5X0UKu2mVO7CIyz0MiMx2ZdZ 0NzCHkaOmNCQUqSq0Y1qOWBdg30tZtJljrqzUfumiuwojU0uG6VwKovOaq/gjyZyXz UcisB7Mj5Q/iuAAwFxTxusZaGDD45SRJ6hSiBUoZfzPixhGLOd45PIjAT5TxQiNzp1 CIfHveBHormIvxcZwKNah6l+KQa0tLn9fDDZJ/ioOYT3NYL1k8HxZBJr/SBBQTb97Y lqB8FQ7fXB1WQ== Date: Wed, 18 Sep 2024 11:51:09 +0200 From: Christian Brauner To: Matthew Wilcox Cc: Linus Torvalds , Pankaj Raghav , Luis Chamberlain , Jens Axboe , Christian Theune , linux-mm@kvack.org, "linux-xfs@vger.kernel.org" , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Daniel Dao , Dave Chinner , clm@meta.com, regressions@lists.linux.dev, regressions@leemhuis.info Subject: Re: Known and unfixed active data loss bug in MM + XFS with large folios since Dec 2021 (any kernel from 6.1 upwards) Message-ID: <20240918-geordert-bedecken-93c97e15e82e@brauner> References: <0fc8c3e7-e5d2-40db-8661-8c7199f84e43@kernel.dk> <20240913-ortsausgang-baustart-1dae9a18254d@brauner> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Stat-Signature: bmzeytyuqq6djabzdurm4r4rwgp61ej6 X-Rspamd-Queue-Id: 62F82C0005 X-Rspam-User: X-Rspamd-Server: rspam10 X-HE-Tag: 1726653077-546173 X-HE-Meta: U2FsdGVkX18r9sM8pxOIvXNFwg7CYpRD7uqu5MJy/NMxTbfCS2dAPDrA4mBpa1yrMQN4294b/3uZ0nclvzD22LyVWdD6gr2gP4SeeDzJRW0EXF0yuZkykiTfk5dvLJdYpuXXKZRooDkawvqqUQmg2GY8zWQHBmlfK2sXbsQjmJoLfRb+DarQUwhbnrMwvShI8oe1zjvriIkK3TCRfC2I6G33+iYwNiHRHTaT122/Sc6kNJnZYM7ZaJXXWO8YZylsknhEw7W6E1uMQq/97V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bogosity: Ham, tests=bogofilter, spamicity=0.000002, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Mon, Sep 16, 2024 at 02:29:49PM GMT, Matthew Wilcox wrote: > On Fri, Sep 13, 2024 at 02:11:22PM +0200, Christian Brauner wrote: > > So this issue it new to me as well. One of the items this cycle is the > > work to enable support for block sizes that are larger than page sizes > > via the large block size (LBS) series that's been sitting in -next for a > > long time. That work specifically targets xfs and builds on top of the > > large folio support. > > > > If the support for large folios is going to be reverted in xfs then I > > see no point to merge the LBS work now. So I'm holding off on sending > > that pull request until a decision is made (for xfs). As far as I > > understand, supporting larger block sizes will not be meaningful without > > large folio support. > > This is unwarranted; please send this pull request. We're not going to > rip out all of the infrastructure although we might end up disabling it > by default. There's a bunch of other work queued up behind that, and not > having it in Linus' tree is just going to make everything more painful. Now that there's a reproducer and hopefully soon a fix I think we can try and merge this next week.