Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp550028lqb; Thu, 14 Mar 2024 21:42:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX+D6j4hd9vbYGRjlXSpi2XXtG9M1B8S0AlJjB15IsFPjqykIVevXOd7bePQUA8GRhqxoPOXkkrV9Q/dZkBdd9P45IkXK6Uz/aD03gSOQ== X-Google-Smtp-Source: AGHT+IFeUJWNo7q/lMECrqqv9Q7h7cTlmxmg1FfEwkeQ/jvrtTH1lgwjz53+yhGVj+Xsv9xjNzat X-Received: by 2002:a05:6871:e01c:b0:222:6495:642a with SMTP id by28-20020a056871e01c00b002226495642amr3725144oac.46.1710477732620; Thu, 14 Mar 2024 21:42:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710477732; cv=pass; d=google.com; s=arc-20160816; b=uNojmkWKyp2YzEqGM2mi77Lvr3P4RVI5tXsFFkZZEDvGTqROOUNECpoq9KQ7ay8ROF ARHkUv2kBJJg55u/RNseCH0JWcrOxTPZ14eXUCHPdpmqgFTaK8icfH1QRgXJbnlMbbW7 0Ruoa556Q/qQB8V48yiHL8LZ8bin+YxlRrbyqpL0VXAp0WTpHuQYA0KF5I+JMNwxsmK3 uNGqW3ldRcUgMMBnckGTj+7C8pTOC10uqyTPZLi6gzot1G+n/JMknRSSC4ZoM6+TR1VG M6u/Osq4w4EValMvz1HUOAXzU/iZEGyowmaE2OLA/zUC1JZPMVp03MI0TXOMQbSkAwjh 8m6w== 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:to:from:dkim-signature:date; bh=FxktxHvBJyfDKoa1bxvzSlyMzdw19RWnlTREhjaJS9A=; fh=CrzsNLvHfDkQCOVmJ50WSd81HVFg26hQqE17HX6ymGI=; b=DEqItcKRPufFSmPY0nBOSRM1H4h3Uv5jGAYk6tcelm84GBmGMNLnXWWpjYgOyIgN4S /VD8HFQ4Jfbun5ryGG+1sPoJmIf3yzzjeP3GvlUzLBo+/UrUC9aGhejXpoTpm8NlmcNI qTqnXKnXqPgx40kEN3aF4HjUSH6HDskcv0oxFWj8MyB/nDiq4xrP7phtpuWo+4yO0CEC 7eiCL/WpzMQq1cbWMSjYKfPysVoNb5yLgw20+f5OKVRfVlQ4GEX7zZmYm8Uql55fwhgS KRYNkyP+5EhbVAQqooKwGVIZUsSdUU6ysHmEC6XmfFuZWEAFpdtYbfusrN8OSViAxjh9 AxtQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=YmBtz8zp; 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-104055-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104055-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. [139.178.88.99]) by mx.google.com with ESMTPS id 22-20020a630b16000000b005dbcf612461si1975749pgl.416.2024.03.14.21.42.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 21:42:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104055-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=YmBtz8zp; 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-104055-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104055-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 397A3282B5A for ; Fri, 15 Mar 2024 04:42:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AFECD179A8; Fri, 15 Mar 2024 04:41:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="YmBtz8zp" Received: from out-181.mta1.migadu.com (out-181.mta1.migadu.com [95.215.58.181]) (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 E3A7517730 for ; Fri, 15 Mar 2024 04:41:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710477676; cv=none; b=qPln70HTTmYLqvLYtOlLjN6/OMU8SQoxBh4sQiB57kAljp9zvzEpZqhB7cf+F7nWURlDjL1OJogsYI6qcw+HXmkgQ9QNbQd/ju7EpM5HJjoQnnOvzwEpvQapdbLqzlAcVZ3or5chGRJudkDUS4uvMebDC2CT8IMdniYgeeq9Un0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710477676; c=relaxed/simple; bh=X556mm4b3NpKRrUCJb6n7/rhicann9OZN87sidxesuU=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=fqMi7Pi++8GV3a4gAJwnHEzrxxSjTqSV5irJaSbIEcMyD+3k1YfTiMa5yGgUE1+DEkqQhNRtWWZU5RKr8+EiSAAcEglxF9m6NrBA/jdgRTAhuzd0m+3xrhtXOcIs2HsnnJhvkU+XZSQC6t/8zzk12Mq9F9vWy89e0TtaPK9/rFc= 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=YmBtz8zp; arc=none smtp.client-ip=95.215.58.181 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: Fri, 15 Mar 2024 00:41:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1710477673; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=FxktxHvBJyfDKoa1bxvzSlyMzdw19RWnlTREhjaJS9A=; b=YmBtz8zpXZ3X+nN6YK1MiC/nghiJLmLfgbN0gAzP5k7RRB9MCJuXxPZNTGoGZLmRPiIzjy gdrjstZP82IJC6uwwEEHfIP7wcKCLa93wmUwvVxMU3vsknpQBAPsk/qdr1aLM5Oaf6Phwv iP/HDBDBGrpckvVlFY7kwdG3/hBWyNI= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: linux-bcachefs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: bcachefs: do not run 6.7: upgrade to 6.8 immediately if you have a multi device fs Message-ID: 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 there's a bug in 6.7 with filesystems that are mid upgrade and then get downgraded not getting marked in the superblock as downgraded, and this translates to a really horrific bug in splitbrain detection when the old version isn't updating member sequence nmubers and you go back to the new version - this results in every device being kicked out of the fs. and our backports are not being picked up by the stable team, so - do not run 6.7, switch to 6.8 immediately, running 6.7 with new -tools will trigger it. if you are affected: - 6.9 (once Linus merges) will have a new no_splitbrain_check option, which runs the splitbrain checks in dry mode and won't kick your devices out - we have new repair code landing soon that can recover from missing/unreadable btree roots by scanning the entire device(s) for btree nodes (which, fortunately, we have sufficient metadata in btree node headers to do safely; reiserfs famously did not). i've seen some crazy corruption resulting from this, but it might still be recoverable