From patchwork Fri Feb 9 01:14:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kent Overstreet X-Patchwork-Id: 198713 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp560115dyd; Thu, 8 Feb 2024 17:15:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUmXfBde47dnhdF6FXpLPMKQyg6fHsRWv0rJuQu1KHmVxJajUXQbqGs3wc2/rV401q6hcvofadTXBJ1nWWKfgejcGfVQw== X-Google-Smtp-Source: AGHT+IGJg5eRpJSEnvdMMjsbjjOUWltB/BydekKteOEIo6k7MDNes8ifz1c7gX6WFwrdcy1qxQuG X-Received: by 2002:a05:6359:45a5:b0:178:b9a0:fe9f with SMTP id no37-20020a05635945a500b00178b9a0fe9fmr29951rwb.19.1707441320590; Thu, 08 Feb 2024 17:15:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707441320; cv=pass; d=google.com; s=arc-20160816; b=o+h1PCFx401kfoUv45zsB3MW9aJU1gDEIuwd1z9m8HeanH0su/cBOhMQATteJ4nDeJ liWbem4pOgOmK3kP+t96FjVqvlLCXuTgoPHe8A5q5W0cmLHYn+3li9Ukrkc4tUmGUBBT WTyPSwxqjB8CZ4lIbWPw9YEtLtdBmYLAUOXeKgT2MGQLtLc2KfZXnw6Wtas6VPAKBy8b vAD047Dv1RpxLIzPsuMSfd9DX3zEqY/VxVpiMfYBbHGYu0gouJ7PKYetNz0oCz/ii4yI 9YfmiUrEYRaGWBWUPkqfEQ8s8OhVz8sIcPGJ5wVSKXFE3I6ki030pCtJYqagUTaOZe/G ErzA== 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=mIxdzPWyKD9wWhNpC+Vouu4n1L4gGXqIV3g6Ttx09jc=; fh=vDdtu7UE9RbT/3MjxPtK4MDF6397hWORqMGKa+6ni3M=; b=G8KOMG70VPuMq27NgtA2MtRc9tCL7Ho9x6klg0OuktHvF+aUbB4UxM1DMi97UdkyYX KiduKozoIIqSrh1vTLIAYPZghClBt48tMre3/6RGt67lIsoMwZSRjXpJ/AXsUDMEUqt0 RoNvU7UiUbCh+gYO3jTxkb33pNsQHHe9tEthI1Q03xtsL3whdj0HjWnfHGjBLUs6lDHq I2+QbkGzomTATXmlhnhMxn6bWB9i/ps4Kio1NAyemYHMD6Go+CboMO6lRUCszMw9SvVy 6vfsdh2awkJjjYYLwL2h3e0vIPOEBxbXbDlxxGCCDvthkt+1etZBc3yKML9pJPc5aZaB L0lA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=fM8cqtJ9; 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-58915-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58915-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev X-Forwarded-Encrypted: i=2; AJvYcCUhBaay2K91erSRhzUilb07TKHcvQZrC56HYAHaVW1kFIMyWvNdGKrWZEoGc+1XsAJPTlVshnAMSOeOHwHHbLTpSmdw1A== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id w184-20020a6382c1000000b005d8c18c7c65si689555pgd.671.2024.02.08.17.15.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 17:15:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58915-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=fM8cqtJ9; 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-58915-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58915-ouuuleilei=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 2AE08B21DDA for ; Fri, 9 Feb 2024 01:15:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 123C8184D; Fri, 9 Feb 2024 01:15:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="fM8cqtJ9" Received: from out-188.mta1.migadu.com (out-188.mta1.migadu.com [95.215.58.188]) (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 508274C80 for ; Fri, 9 Feb 2024 01:15:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.188 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707441302; cv=none; b=VlP8tnh4y5EK0De0h0q7aCXscdbt5Fu0hs/Y8vuzGiVfQ7wRrWHdaBA3WPqJbfKysHqrd3uFxAnBYqZcQ5rOtrO0hYBWuf+RrMKaVeERphysx+diozdpC//uiBk5/IXoEllDX/I1hSMTcfNgBRimqYjjXzW1GNuR56PdVVyyuPk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707441302; c=relaxed/simple; bh=I74qNCNhSreLNW+mYNwoQ/ToNtGoMYC5nKBXJQwn+GM=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=FjS3xnmOBKzvRiFoq3dhtNew3o0F9uLiBnxxd9ujlYJlh2d5vw1auQr61lKDgSMDpKq70P/17M5Zp4gRf4PDiL9HrDxuuxKirarWzYP/s5pVwsx5PxHEtgzjrmBJSuv6marsCgJZmU5JFPt6iUYqK6kc1jOefNRTYP3yEKxuJew= 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=fM8cqtJ9; arc=none smtp.client-ip=95.215.58.188 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: Thu, 8 Feb 2024 20:14:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1707441298; 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=mIxdzPWyKD9wWhNpC+Vouu4n1L4gGXqIV3g6Ttx09jc=; b=fM8cqtJ9LtRwO5E1oGrh7DOM9/GT1DHRBm/uDgVMdIQ5exmq+sFQS5icI+eOiRj6PSVZKo rj8r8F6ks7sBGup/Jp6CuNIg3CCb/+0bwhaMypTDFgcRjXavXTpgOVAf2EpBas9Ck0AFod 6gXeLkUwKXVrskSh9iKYb9UimnF3VVA= 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-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [GIT PULL] bcachefs stable updates for v6.7 Message-ID: <6yl6zvu2pa3mz7irsaax5ivp6kh3dae5kaslvst7yafmg6672g@mskleu2vjfp2> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790381990189242094 X-GMAIL-MSGID: 1790381990189242094 Hi Greg, few stable updates for you - Cheers, Kent The following changes since commit 0dd3ee31125508cd67f7e7172247f05b7fd1753a: Linux 6.7 (2024-01-07 12:18:38 -0800) are available in the Git repository at: https://evilpiepirate.org/git/bcachefs.git tags/bcachefs-for-v6.7-stable-20240208 for you to fetch changes up to f1582f4774ac7c30c5460a8c7a6e5a82b9ce5a6a: bcachefs: time_stats: Check for last_event == 0 when updating freq stats (2024-02-08 15:33:11 -0500) ---------------------------------------------------------------- bcachefs updates for v6.7 stable: locking fixes in subvolume create, destroy paths - Al, Su Yue, Guoyu Ou fix race in thread_with_file - Mathias Krause small rebalance fixes - Daniel, myself workaround for building with old clang (can't take a pointer to memcmp) build fix on parisc minor time_stats fix ---------------------------------------------------------------- Al Viro (2): new helper: user_path_locked_at() bch2_ioctl_subvolume_destroy(): fix locking Christoph Hellwig (1): bcachefs: fix incorrect usage of REQ_OP_FLUSH Daniel Hill (1): bcachefs: rebalance should wakeup on shutdown if disabled Guoyu Ou (1): bcachefs: unlock parent dir if entry is not found in subvolume deletion Helge Deller (1): bcachefs: Fix build on parisc by avoiding __multi3() Kent Overstreet (4): bcachefs: Don't pass memcmp() as a pointer bcachefs: Add missing bch2_moving_ctxt_flush_all() bcachefs: bch2_kthread_io_clock_wait() no longer sleeps until full amount bcachefs: time_stats: Check for last_event == 0 when updating freq stats Mathias Krause (1): bcachefs: install fd later to avoid race with close Su Yue (2): bcachefs: kvfree bch_fs::snapshots in bch2_fs_snapshots_exit bcachefs: grab s_umount only if snapshotting fs/bcachefs/chardev.c | 3 +-- fs/bcachefs/clock.c | 4 ++-- fs/bcachefs/fs-io.c | 2 +- fs/bcachefs/fs-ioctl.c | 42 +++++++++++++++++++++-------------------- fs/bcachefs/journal_io.c | 3 ++- fs/bcachefs/mean_and_variance.h | 2 +- fs/bcachefs/move.c | 2 +- fs/bcachefs/move.h | 1 + fs/bcachefs/rebalance.c | 13 +++++++++++-- fs/bcachefs/replicas.c | 10 ++++++++-- fs/bcachefs/snapshot.c | 2 +- fs/bcachefs/util.c | 5 +++-- fs/namei.c | 16 +++++++++++++--- include/linux/namei.h | 1 + 14 files changed, 68 insertions(+), 38 deletions(-)