Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2513001lqt; Mon, 22 Apr 2024 12:54:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUqFm/OljorXmNYGtGSEgeLIpzVyk63nNssKFYuFfj5ZERMDhFrMRRHlwxNFYB4Pb+zvWzHSbxfdFIFtGvD5oDGoKmMczmqrmb6QnG/KA== X-Google-Smtp-Source: AGHT+IFWKx1hda8opTwp8cQyBoqbt4dHfBturLUaCxmuj+QW32YZDOvNtvyJhHxHsJY/xaH1nXsb X-Received: by 2002:a50:d5d2:0:b0:56e:2a38:1fb3 with SMTP id g18-20020a50d5d2000000b0056e2a381fb3mr9386667edj.4.1713815667301; Mon, 22 Apr 2024 12:54:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713815667; cv=pass; d=google.com; s=arc-20160816; b=IUGA33BQavuw6qSwS58S76FgUOtTXFrE+0fkqGhfwQ/87vws8Wy4kD7rSE8Qtbys/2 5tSDEAtWYqHf8l1ZiSbRrYw4Yz/4TSRMriHa2YkkkJMc/FPE59brE9wJnK8bsZXX6FPn PAQAB+xn1qIcTRTlbtf84eh+ZXcueUzKXxyn/GVYeR9Ind7xz3U690zuqfiAS6qRVUWs jKGTc8krSuhhK6jEYf2H+M7faFCqSSCRmeQUD+577JOAvG+tCmEDexM+IZfwhYcy2yNk vbdwcypY0wjQHxXyuPfQLHakfYngf3vpmfGuE/eb/Enk6OjFCvir/kVARMqjvjhbAOgA untA== 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=2GMQSjZim3LKV3Y1Miu61pAhsMImS7IiK2sA4UPpM/Y=; fh=aznqSYAhe5NzYgYLW/V7xbfSEyFesCegLqxoNj8hWd8=; b=S3VdJY7qx6arYk/U15VTZMAuidb8VUFvwn0tjErRjgnV2EsV/MBsLYt5543JBdr0lX I6jbikti/etG5X5VYGL8Nfk5EYm3nYHeZnqd6ImK03nKwNeKw4mtVyIUxyBT9tT4q+bo pvQnr4+YxwAzm43Ajy6BTX52eqWyWUVOv3JaPq14Ep3rpTk9IxAxxfDTaBvQ3pYnpH0/ 87QJFoO4EIPvp2WLgOQ3cnsstj+4Zd2nckicCZIm9CBO6KakmBlNJacbfDTEF0w0vpIX /ZbmIXmKf+vOADX578KfmkoLzL24uiKDiaak0oXIyGS8aBWBCgI4MBtakClG2Uaw0f9k m0wg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=NsfrRM7n; 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-153954-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153954-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j17-20020a05640211d100b005720da1d1f2si1517819edw.138.2024.04.22.12.54.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 12:54:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153954-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=NsfrRM7n; 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-153954-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153954-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 0BCCB1F21A20 for ; Mon, 22 Apr 2024 19:54:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C7F4C155A30; Mon, 22 Apr 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="NsfrRM7n" Received: from out-180.mta0.migadu.com (out-180.mta0.migadu.com [91.218.175.180]) (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 3F32B155752 for ; Mon, 22 Apr 2024 19:52:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713815537; cv=none; b=myAVNrQCNUJlIp0Eeqx49RVexB8FNlzllUmmhqMA4nWgk6gGcXYm9F4VV4svZH56KPG3whRrtBJ9NIlJDfJXrklVUzr55nxGSmBoRzjh0nGlJp87+aZYQyfwTUybK4poHwOXRXVKt/GN4jIAdMRdGh1fjcEfoxkp0wKUlavy5JM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713815537; c=relaxed/simple; bh=EK1EZzGAtYGUjl2hyFST+YG4uALloruxlOHlWlLPKhM=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=VRnbIOxIM+G3JYqCCZq+wbcQK7IxtJETp8k2uWj1YSQW6VFnhHDm+Stjwzu1amD2jTXl7j++IAfZMnrX1UfmRUj2x/MXAP8g4H2R7Qf1s8UeHdJNP1j1QmQNvATQ+L79RtBemNYJe9Zuob8JK++YSowA01eyPryAhyf6O0ou/aU= 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=NsfrRM7n; arc=none smtp.client-ip=91.218.175.180 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: Mon, 22 Apr 2024 15:52:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1713815530; 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=2GMQSjZim3LKV3Y1Miu61pAhsMImS7IiK2sA4UPpM/Y=; b=NsfrRM7nU9HcXCA9rhNE6cw8+Nm43qOk5NEEv9VJ6pcm7wkWDZjt6x+7OD39iaf8Y8NGLG lO1cosqkssc9MdPNzsuCxWmz/tMGMlCsHG/b6xrUoO2VD9+JmA1AM/EmUtL6psJxQjxmGV LdQUnp/p5S+G1SwReSTd8gIvncywGLI= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Linus Torvalds Cc: linux-bcachefs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] bcachefs fixes fro 6.9-rc6 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 Hi Linus, another batch of bcachefs fixes. Nothing too crazy in this one, and it looks like (fingers crossed) the recovery and repair issues are settling down - although there's going to be a long tail there, as we've still yet to really ramp up on error injection or syzbot. For users - if anyone is seeing bugs that impact filesystem availability, make sure you're reporting those and be noisy about it; all the non critical stuff should be reported too, but are lower priority for now. Cheers, Kent The following changes since commit ad29cf999a9161e7849aa229d2028854f90728c2: bcachefs: set_btree_iter_dontneed also clears should_be_locked (2024-04-15 13:31:15 -0400) are available in the Git repository at: https://evilpiepirate.org/git/bcachefs.git tags/bcachefs-2024-04-22 for you to fetch changes up to e858beeddfa3a400844c0e22d2118b3b52f1ea5e: bcachefs: If we run merges at a lower watermark, they must be nonblocking (2024-04-22 01:26:51 -0400) ---------------------------------------------------------------- bcachefs fixes for 6.9-rc6 - fix a few more deadlocks in recovery - fix u32/u64 issues in mi_btree_bitmap - btree key cache shrinker now actually frees, with more instrumentation coming so we can verify that it's working correctly more easily in the future ---------------------------------------------------------------- Kent Overstreet (14): bcachefs: Fix null ptr deref in twf from BCH_IOCTL_FSCK_OFFLINE bcachefs: node scan: ignore multiple nodes with same seq if interior bcachefs: make sure to release last journal pin in replay bcachefs: Fix bch2_dev_btree_bitmap_marked_sectors() shift bcachefs: KEY_TYPE_error is allowed for reflink bcachefs: fix leak in bch2_gc_write_reflink_key bcachefs: Fix bio alloc in check_extent_checksum() bcachefs: Check for journal entries overruning end of sb clean section bcachefs: Fix missing call to bch2_fs_allocator_background_exit() bcachefs: bkey_cached.btree_trans_barrier_seq needs to be a ulong bcachefs: Tweak btree key cache shrinker so it actually frees bcachefs: Fix deadlock in journal write path bcachefs: Fix inode early destruction path bcachefs: If we run merges at a lower watermark, they must be nonblocking Nathan Chancellor (1): bcachefs: Fix format specifier in validate_bset_keys() fs/bcachefs/backpointers.c | 2 +- fs/bcachefs/bcachefs_format.h | 3 +- fs/bcachefs/btree_gc.c | 3 +- fs/bcachefs/btree_io.c | 2 +- fs/bcachefs/btree_key_cache.c | 19 +++--------- fs/bcachefs/btree_node_scan.c | 2 ++ fs/bcachefs/btree_types.h | 2 +- fs/bcachefs/btree_update_interior.c | 6 +++- fs/bcachefs/chardev.c | 4 ++- fs/bcachefs/fs.c | 9 ++++-- fs/bcachefs/journal_io.c | 60 ++++++++++++++++++++++++++----------- fs/bcachefs/recovery.c | 5 +++- fs/bcachefs/sb-clean.c | 8 +++++ fs/bcachefs/sb-errors_types.h | 3 +- fs/bcachefs/sb-members.c | 4 +-- fs/bcachefs/sb-members.h | 6 ++-- fs/bcachefs/super.c | 1 + fs/bcachefs/thread_with_file.c | 15 ++++++++-- fs/bcachefs/thread_with_file.h | 3 ++ 19 files changed, 105 insertions(+), 52 deletions(-)