Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp40734lql; Sun, 10 Mar 2024 12:44:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWgNuFo8GcLMF53vDx9IO0jVFOHjozMv975Dh5KgnYv4u25y4Wk2EUNMY0dyoVylB1IYyNxYj5c+4PVJ5JjTt4oAlBGnF+qqeuZT6Bpgg== X-Google-Smtp-Source: AGHT+IFiBLq7O+/wdB9aLw3ihoEywGKMUrCphV1Fie94u5Cxz8wWZ+omUmD/gHXLXrMdLJDSSMVk X-Received: by 2002:a05:6a00:124f:b0:6e6:8de0:f964 with SMTP id u15-20020a056a00124f00b006e68de0f964mr2279174pfi.17.1710099842833; Sun, 10 Mar 2024 12:44:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710099842; cv=pass; d=google.com; s=arc-20160816; b=Mn0ToLltA4My05JKhjcYv/j3PD2UVgrmqPuP8deFfAwaK7pT6+fjSS3298IbcTRzGP i2zZs4Gcp91/ogRaoN9j/dd9GCnZE7pown6e9g1hFS8+5PBo8OVqfxnr1WcB/PZ5LAsw eJKJoMyKi7zk5z3o2g8XDYBs/zqui0udwIQj5T+I5kBA2Xtgr/IWp2LEioaJkXMqUhvn f5M7lx0rwFwnbFzWCG3Mz26c/Svk94zp+svSIV0aLPJfjcszOFg48bnP0FB57Jb/Fxl6 ZCfIRl/Rdk+jk2p9IITZrjfIJUhBpBXKdgQKlPLeLgt17PRBC4RXF9AeDcUPHVDA9H3c 0mZw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:dkim-signature :date; bh=gv4kw/YOMo+RWvCcJBREth0vtJNopH+AnPVSqWG7pxU=; fh=687EHn/xuCy2MypvuzwHpipnV1lNeeoyLqIYEeEH5EU=; b=zrgDaGXKp/d2QVBO3p6Fp7j1bLfyISNOeP6QXIYHQ6wqWmHNJhziLlhIQe7baVv/E5 prPZVoiZF6+1bC2uhtoOmt/EQ1cnI9Qff3L4yywoEeFudgJxDT4SB77A/7XOQkYmvdjm YEbQpKPkFVPtRu7UF8Ok06VrpaHnXH1OvM0RcR7c4j/4ClttA0gS8f1HDSKl1+19YW1o uheQU98W8COR+s3OaQw6z9hHAgsaB7fDDAQKT42gbBMiAfWBty12HpodiwEP58egKSrl ssNikco4dNkRno/gJmgeUnOOHV6hA6ynw3NX09bHoVE4eFylYpmmtYRLJCD5UXM7nhum BDrg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=c7YNA2Y2; 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-98317-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98317-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z19-20020aa78893000000b006e59edebc3bsi3657065pfe.242.2024.03.10.12.44.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 12:44:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98317-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=c7YNA2Y2; 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-98317-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98317-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 83816280F52 for ; Sun, 10 Mar 2024 19:44:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 371153A1BF; Sun, 10 Mar 2024 19:43:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="c7YNA2Y2" Received: from out-184.mta1.migadu.com (out-184.mta1.migadu.com [95.215.58.184]) (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 DD7DB3A8E3 for ; Sun, 10 Mar 2024 19:43:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710099825; cv=none; b=skhYeCVRkbkeZuWM00DAHiR0MR0E4UWTNsCq2ZL0Tigj9vxZrOTQdnAtY/G1wYZ8GzDWcyvuy8WaPmpmkfrk54KBU5704bWWACu60CLPo+9up/3gD8k+CI42T1+fdhepoit7xV5PMxzh9MyK7Tzd1lGI/wCSX4cKI4GF9hpkn/0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710099825; c=relaxed/simple; bh=/4xepVEwj5kBYcnjYzjf3rbsskaoO+unS0ty5fcobgY=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=LL2VfTYVQ+8fxgYDcRj/ye/66BQsjpgr3x64y9uEqFQ+7QlDYv0WDZp/vz9wqkZ88hrKuMrNWATcSlf2QbcdXQct6TMViFrdJM/RD3yA6ehyx2kiyGdkU7n/bFNtuEdFkjL3z/dDEcGnaMrusSqZKFommSPPZ8buRcgOESLQHEQ= 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=c7YNA2Y2; arc=none smtp.client-ip=95.215.58.184 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:43:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1710099822; 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; bh=gv4kw/YOMo+RWvCcJBREth0vtJNopH+AnPVSqWG7pxU=; b=c7YNA2Y2J0CGKuDinZfsgs1uz5Ok0/x+6xaz11AzgeLaT1qzboTGz3zjD/SuulDqYjujPp T2f055+JDR+9mwPT6b0o0LPuatvPISLWM6zsXg6OCAbEFbSkx14R25RzhoQlyQx8YkMBoZ H8jVZDphnfwrhpvqjSFBpvKZnnSTneA= 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, linux-stable@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] bcachefs fixes for 6.7.y Message-ID: <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 X-Migadu-Flow: FLOW_OUT 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(-)