Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp42818lql; Sun, 10 Mar 2024 12:52:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWwax11P/Ap4OXEWRwDah2DVF7d8OCCcIKnW8VtxGPIDtStuQ7JrV8EMXP4qdUSqudK+gIMya5+9+Nl5FB+gS/SIWpSicwLGpgSjjNU6A== X-Google-Smtp-Source: AGHT+IHZCO530XwcYfIjaN8Ofa2IaO7b2tjU81+3qCVXiKGS8Mr8pvm+pHRSuGO9mx9Tqt+ZK68O X-Received: by 2002:a17:906:b153:b0:a43:dae8:d43c with SMTP id bt19-20020a170906b15300b00a43dae8d43cmr2758095ejb.32.1710100346661; Sun, 10 Mar 2024 12:52:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710100346; cv=pass; d=google.com; s=arc-20160816; b=1H/W0G7DdOKY6LoaiLf4dUBEatfZHaISJl4szLI3RELZmkJ5C3kr0VM4IPPOcS61wa WyTxUO83OFQWSH4eq1OrcUIuGHS3A+dTH6Bc/vL7T9mCmW6qujYreVK+vl+0kv31/UOy 75gzXXRITK3lhN9CYJ1+2SaKeruYDc/R7MMJTbKqWcu+3EbPpNzTtqJsKR49dYB5dI+T the+1F/+BWYkzsrGaQ24sH7vbX6dXLGC02n3u4TlyNeEhJvhsr+1cn701AAOeIIX72em rKcO22J4Q/yLVR5WFlYdMTqevls5FG8QCcxp8+53pEgS+8TFdmRaRBBjwO6c3ixE+S3i QQcw== 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:dkim-signature:date; bh=UcswkkerU0TvFOs/zruoze8pg+mzMuhwyFE8tuMQ3dw=; fh=AyX/6nXuz3PUN/Hvh1E6QhGB3DZhA94jk4IYbhnIzwE=; b=oy9qjKXySVtkbqr/PpGOwxiH4XUjGuVVTDP/uY4rakWou9oa6ZMpj+BmwVfoyMpUJ6 o70QHkHB4RkxWtpgTOKtKZsrh4vZUszc3rPZtmfm+m2vKDc/LcEDe5i7LO/v8ut/AwaW HI76inVkC4l21Ix/nl3QGKfXIRLlK7qOkZwuzVLbE94RAbNey+qLAni7yzONnqMmXGHq hlvpw9YB3sBkyM+TXsn2775HGdh/6cjqwiNuFhKFtHWIWkZH0fjMS7ey8ynjSBeIv6lT HBbdTAVz8wuaBbOPYZ6bhw/7RemrseBmjbC/pX6AS4ZHSuWp+g5l70AnXZdTVqarClfl P3HQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ufksA6oH; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-98318-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98318-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k22-20020a170906055600b00a442eb054fasi1758188eja.497.2024.03.10.12.52.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 12:52:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98318-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=@linux.dev header.s=key1 header.b=ufksA6oH; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-98318-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98318-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 002B11F21238 for ; Sun, 10 Mar 2024 19:52:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC5963A1C2; Sun, 10 Mar 2024 19:52:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="ufksA6oH" Received: from out-189.mta1.migadu.com (out-189.mta1.migadu.com [95.215.58.189]) (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 00A8439FFB for ; Sun, 10 Mar 2024 19:52:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710100337; cv=none; b=EayV7SYYwCvikkgctiOo5ah/xih6fUAMbI7W0pnjpijIXUbzWwLfCIM48wkdtvk8UPvhRwfevx85ghYotOoCEeW+Kl5SjYUUoICAOFoOEax2Nflex3HwTTkEcXGX7Qe8euasOSy3jxDmxZXvEhqSG2JorNXgc3bn0UiNCyxUgec= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710100337; c=relaxed/simple; bh=RcToUl56w4yDBVjDVP90f4jCCZEx8YxDvxWKN2KseMI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=l9BN+hWEiN6Tda3oH7y5L9yy3Az9tC8XuuPCQpbINwDKjQp2C+Zleo3J2IKDtTETOn7h7TZVp0/czNDS3JB0Z4llOSOCC0I42cgMjKP64w/bUu95tWgfNB3KhEN0z5X7kyjkXay3S8gNd5JsDlF8znbUZNjsyDn3oOdUUhsANXE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=ufksA6oH; arc=none smtp.client-ip=95.215.58.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Sun, 10 Mar 2024 15:52:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1710100333; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UcswkkerU0TvFOs/zruoze8pg+mzMuhwyFE8tuMQ3dw=; b=ufksA6oHYBKlbGnKzEOeTxol5JwzZ8249RA6kdGLeDUsJNI6PiSUCpwg864JRJWrRMNm53 6zxOBS7D12L4u0L56or1pL9LUpDGzJnP7h7vINUQ/YihzLj738okR1LLGchKvNh2YMVK2D I/vhQSzwd3zdoPUxATTKQIq0vWI3CyI= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Greg Kroah-Hartman Cc: linux-bcachefs@vger.kernel.org, stable@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [GIT PULL] bcachefs fixes for 6.7.y Message-ID: References: <2zaqetj6wlxgpbxgex643dnudgwhcrz23xgfuai3t3hgavjb2d@vwhyha3hlg5y> 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: <2zaqetj6wlxgpbxgex643dnudgwhcrz23xgfuai3t3hgavjb2d@vwhyha3hlg5y> X-Migadu-Flow: FLOW_OUT On Sun, Mar 10, 2024 at 03:43:38PM -0400, Kent Overstreet wrote: > The following changes since commit 2e7cdd29fc42c410eab52fffe5710bf656619222: > > Linux 6.7.9 (2024-03-06 14:54:01 +0000) > > are available in the Git repository at: > > https://evilpiepirate.org/git/bcachefs.git tags/bcachefs-for-v6.7-stable-20240310 > > for you to fetch changes up to 560ceb6a4d9e3bea57c29f5f3a7a1d671dfc7983: > > bcachefs: Fix BTREE_ITER_FILTER_SNAPSHOTS on inodes btree (2024-03-10 14:36:57 -0400) > > ---------------------------------------------------------------- > bcachefs fixes for 6.7 stable > > "bcachefs: fix simulateously upgrading & downgrading" is the important > one here. This fixes a really nasty bug where in a rare situation we > wouldn't downgrade; we'd write a superblock where the version number is > higher than the currently supported version. > > This caused total failure to mount multi device filesystems with the > splitbrain checking in 6.8, since now we wouldn't be updating the member > sequence numbers used for splitbrain checking, but the version number > said we would be - and newer versions would attempt to kick every device > out of the fs. > > ---------------------------------------------------------------- > Helge Deller (1): > bcachefs: Fix build on parisc by avoiding __multi3() > > Kent Overstreet (3): > bcachefs: check for failure to downgrade > bcachefs: fix simulateously upgrading & downgrading > bcachefs: Fix BTREE_ITER_FILTER_SNAPSHOTS on inodes btree > > Mathias Krause (1): > bcachefs: install fd later to avoid race with close > > fs/bcachefs/btree_iter.c | 4 +++- > fs/bcachefs/chardev.c | 3 +-- > fs/bcachefs/errcode.h | 1 + > fs/bcachefs/mean_and_variance.h | 2 +- > fs/bcachefs/super-io.c | 27 ++++++++++++++++++++++++--- > 5 files changed, 30 insertions(+), 7 deletions(-)