Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp694729lqp; Wed, 12 Jun 2024 13:22:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX+Zt0hnaf5arkfRLnLeGOSqNHflqvu6bxrTPqIa6mudfjk41vzA+qYAE2NVHZ01nPOOFlyZDEgU8co+PsfQ7rkaD/OrdcZbmMMGJABLg== X-Google-Smtp-Source: AGHT+IHm1Se4RacBNHqQWNjruLIVvfxw3PhKGKDj/RMwMAw3Cyk/ufzH/wvW8YcatXxX4RH8jPRj X-Received: by 2002:a0d:c6c5:0:b0:615:1413:95c1 with SMTP id 00721157ae682-62fb88632ffmr27514417b3.19.1718223738366; Wed, 12 Jun 2024 13:22:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718223738; cv=pass; d=google.com; s=arc-20160816; b=oaZv/JROmtdQzeUrCYPVFcugy4JoRApUW9mNag3dgWoX7bleY6w8GvXxf6qjuy+7U9 SLZJn9NCLQMOoDfRvHwJiiLsfCPg0GoeLtzUFDjkgIOxD7+qJvw0Jv8WBrBm7xUyvUoD HSW9XOyEv3wrFH8Oqz6vnjqrXxwwIhZbOvZnX7/gewQsSDbZYb1ams/kneSeasvsFhCN Zeh1a4jaUNJ/F3v3eDUy+3MZ7XPD2035j4K66EEEO5/YlFgpntITILUICdYi6LtHWyWV R3nyOQsetyURkWggNlhBIdiFMHCK8C0XNXfDu1IXdWsoPdpVkNIi3ULpukpYSc3bBpke tddg== 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:date :dkim-signature; bh=wXcD6/YF85x4CLdgIr2RqnTdVu0TMTvQKa4O5vPHG4s=; fh=aznqSYAhe5NzYgYLW/V7xbfSEyFesCegLqxoNj8hWd8=; b=dz16du2LO5seLaw/qYufYvNA0t9jMdgvv6bkojANknlF2Tw6qCv1sB2LHOZVgBSZxe FmPX76zOB8wzQg8GFOTvMwVFKYy7eh6O+yR1PhSXUEmlvg2PeuPTT8as6GnRNCnHNpq5 SbyRyZVavuN4zWF5Znbtw5AwGQ3OwuL8rY6lwPLvUQw9fkMqeZSY126M+8RqxLCA5LEG P/cVUaeQwxb8cNoh96Hk+ERcOz2RhLOtwMqK2DT0BPGJLBaP/2iSJNiLJrN6KL9ZyxA3 71dcWuEOVPepau5pK+ikSnIDAcOlPJL+6vYiUa8Wt+QmYVzq++bQ29XsH7AZgp/oJLXn wfIw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=rhQtJxAF; 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-212208-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212208-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6b06add0149si114519256d6.501.2024.06.12.13.22.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 13:22:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212208-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=rhQtJxAF; 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-212208-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212208-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 164721C23491 for ; Wed, 12 Jun 2024 20:22:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4060784E14; Wed, 12 Jun 2024 20:21:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="rhQtJxAF" Received: from out-174.mta0.migadu.com (out-174.mta0.migadu.com [91.218.175.174]) (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 3766C84DFF for ; Wed, 12 Jun 2024 20:21:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718223691; cv=none; b=JWtgXFFMjbNqPVsa5dyo6Dazhu0JDnG79T1dyQB6KwXOAQuUINmLpWms/ZYHA7vl7akQK1zMP1kc5gdkUZ8jkvINrY+RkIxrsCZik3mjiuXuWT5CE9OT8AcDKfxMeo/keZrUuG06V/zxt0LGJfYHdLYIFSIpHIexmAVS8pePTNE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718223691; c=relaxed/simple; bh=Y9JmGBo0c7lW83Az7dSmFQ4xeG9SUat2NMd0Gd2IswQ=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=g4ifbAXW1YWDhW46xbf/ucNcsm4ElBm1fZcRHw5F03fnau0Dke7hQvumMCnegYceqCT9ERXmdxVfZgTTypBMg5oEjY28A5nVy3U1CGEfahrL7zh1XoFjA1c8SjavSQQjpx3hBXExBK/xogehfwMI85OeudRpZL3QMkVe7H8sZqo= 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=rhQtJxAF; arc=none smtp.client-ip=91.218.175.174 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 X-Envelope-To: torvalds@linux-foundation.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1718223686; 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=wXcD6/YF85x4CLdgIr2RqnTdVu0TMTvQKa4O5vPHG4s=; b=rhQtJxAFenwuQ6pEBVukxUvt/crmCY9eWVUQQ4XVUfSiXrTWEhHfTLFc8LOCTeal2Kh7Oz VRLzUwdd/c+W/PfeiTMe96GK8x+2RxxD3/QWdZ32T19Nv+JDQ+kT8FfSiGp+GHe9XYY8s4 AFHTuMbe1k3X9NfwB5guXi3evHqAG+g= X-Envelope-To: linux-bcachefs@vger.kernel.org X-Envelope-To: linux-fsdevel@vger.kernel.org X-Envelope-To: linux-kernel@vger.kernel.org Date: Wed, 12 Jun 2024 16:21:22 -0400 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 for 6.10-rc4 Message-ID: <6pkst4l27qb7asdlg47jy6zycvvse45ienwiybqgjtc47fs4so@f6ahc5rwgv46> 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 fixes for you. Nothing terribly exciting, the usual mix of syzbot + user bug fixes. The following changes since commit 83a7eefedc9b56fe7bfeff13b6c7356688ffa670: Linux 6.10-rc3 (2024-06-09 14:19:43 -0700) are available in the Git repository at: https://evilpiepirate.org/git/bcachefs.git tags/bcachefs-2024-06-12 for you to fetch changes up to f2736b9c791a126ecb9cfc1aef1c7b4152b66e2d: bcachefs: Fix rcu_read_lock() leak in drop_extra_replicas (2024-06-11 18:59:08 -0400) ---------------------------------------------------------------- bcachefs fixes for 6.10-rc4 - fix kworker explosion, due to calling submit_bio() (which can block) from a multithreaded workqueue - fix error handling in btree node scan - forward compat fix: kill an old debug assert - key cache shrinker fixes this is a partial fix for stalls doing multithreaded creates - there were various O(n^2) issues the key cache shrinker was hitting https://lore.kernel.org/linux-bcachefs/fmfpgkt3dlzxhotrfmqg3j3wn5bpqiqvlc44xllncvdkimmx3i@n4okabtvhu7t/ there's more work coming here; I'm working on a patch to delete the key cache lock, which initial testing shows to be a pretty drastic performance improvement - assorted syzbot fixes ---------------------------------------------------------------- Hongbo Li (1): bcachefs: fix the display format for show-super Kent Overstreet (16): bcachefs: Split out btree_write_submit_wq bcachefs: Fix incorrect error handling found_btree_node_is_readable() bcachefs: Delete incorrect BTREE_ID_NR assertion bcachefs: fix stack frame size in fsck.c bcachefs: Enable automatic shrinking for rhashtables bcachefs: increase key cache shrinker batch size bcachefs: set sb->s_shrinker->seeks = 0 bcachefs: Fix reporting of freed objects from key cache shrinker bcachefs: Leave a buffer in the btree key cache to avoid lock thrashing bcachefs: Fix refcount leak in check_fix_ptrs() bcachefs: Fix snapshot_create_lock lock ordering bcachefs: Replace bucket_valid() asserts in bucket lookup with proper checks bcachefs: Check for invalid bucket from bucket_gen(), gc_bucket() bcachefs: Add missing synchronize_srcu_expedited() call when shutting down bcachefs: Add missing bch_inode_info.ei_flags init bcachefs: Fix rcu_read_lock() leak in drop_extra_replicas fs/bcachefs/alloc_background.c | 22 +++- fs/bcachefs/bcachefs.h | 3 +- fs/bcachefs/btree_cache.c | 9 +- fs/bcachefs/btree_gc.c | 17 ++- fs/bcachefs/btree_io.c | 8 +- fs/bcachefs/btree_iter.c | 11 +- fs/bcachefs/btree_key_cache.c | 33 +++-- fs/bcachefs/btree_node_scan.c | 9 +- fs/bcachefs/buckets.c | 293 +++++++++++++++++++++++------------------ fs/bcachefs/buckets.h | 17 ++- fs/bcachefs/buckets_types.h | 2 + fs/bcachefs/data_update.c | 3 +- fs/bcachefs/ec.c | 26 +++- fs/bcachefs/extents.c | 9 +- fs/bcachefs/fs-ioctl.c | 17 +-- fs/bcachefs/fs.c | 3 + fs/bcachefs/fsck.c | 3 + fs/bcachefs/io_read.c | 37 ++++-- fs/bcachefs/io_write.c | 19 ++- fs/bcachefs/movinggc.c | 7 +- fs/bcachefs/super-io.c | 6 +- fs/bcachefs/super.c | 10 +- 22 files changed, 344 insertions(+), 220 deletions(-)