From patchwork Tue Feb 6 00:15:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kent Overstreet X-Patchwork-Id: 197125 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1228537dyb; Mon, 5 Feb 2024 16:16:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGJMduGDUHFWh+eGy7RO8WZE58kFXxFJN+Ul5682jCxegASDob4oVnZt6R1fFUBBuCzIeGX X-Received: by 2002:a05:6102:1856:b0:46d:263a:4102 with SMTP id jh22-20020a056102185600b0046d263a4102mr1352220vsb.28.1707178560278; Mon, 05 Feb 2024 16:16:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707178560; cv=pass; d=google.com; s=arc-20160816; b=gNjnZNMQw6GzncIMHKtrNjx1lMgyovlw/v4MprBvgyKLPTz6D4/GJ3Gh3X91ULBwoj Crf920itvpIYa6ug23kMmJICn01mK5++B94hdW+jDtXx8/RiN4SG9iXNO2HihWwkRu3v jLmAcKFx84YLoLq7cGOQm4zwz85D64LokNBNqPJ2VDFCG7k5adMk8kAnKtTITh6k9gQP ZGhjRPVab3QY5STxzvJor2MMcAYKfcG5WyKx5y0rmHEK/yo1XJFyE0FYjN4JaGCUOIVU avMKk3vFqc6WlVRVtvP9MShvCGDUdpA3of05pMHInJArpM4BHgOTDys8jyaQfM2g/w2r EoRg== 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=heVNvJcnn6416qhrWoUDj7AImSBv0rywq2SJ2v2xunk=; fh=IJXu4Iy6X6lJnni9nFzk6s4r1R9hSquT7HK/fGsG0f0=; b=YqxMGNgYk2SIXQF3pmcspIrXdQjXEl4/YsS0Hi752bJlY1mBRXCT/Wxk5/zfBkR3KM FrnOrEBWghguvArvAy06IiX1cAM0zU7VZmmTd3yz/C0IE67y1FRdtdkXICJNkTme3e/r gKnZAGCmZMSfiH/2CF0znzerfEBAGZI5HTFfnJc1w8WLkcFbAaosRICsWLFpgVEw4N6i SLVBD+lrA1hL3tUPLEP6G8mUpHuYIlIfkb8tsZ6l2O27XPzdcWXxN3JOaj9JEZXWEuwm 8aoqyTK2hjxDWxTpiTS4QHB5ASDs2mhHx7UxE/bMFtpVQvBrEHe9Cgmhjniaoh6oseN8 a5mA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=DeicHDOc; 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-54119-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54119-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev X-Forwarded-Encrypted: i=1; AJvYcCVunNYs6mvFlTRWPhylcMTduTYmiA2DTzqJe/12e/wH/ZPGfQ4TKB84cMCuAChOlUPNAepPxdJXNdzxQu6gUiBrZLXWeQ== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g18-20020a0cf852000000b006856936bc99si1109162qvo.48.2024.02.05.16.16.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 16:16:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54119-ouuuleilei=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=DeicHDOc; 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-54119-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54119-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0F8701C2322E for ; Tue, 6 Feb 2024 00:16:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A4F6F15A4; Tue, 6 Feb 2024 00:15:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="DeicHDOc" Received: from out-189.mta0.migadu.com (out-189.mta0.migadu.com [91.218.175.189]) (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 7FF6838D for ; Tue, 6 Feb 2024 00:15:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.189 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707178546; cv=none; b=AgAFHcbELx0ixRl3vreoqAnj5wlSQ96YAlQcYNwOuOvpxGDww9XmMPVRo1/TLKBz7L2fP85yIqyU79xJXvaKWMZp2PC9ngqhkQ4cll/kPJC/ANY5sx3Q4+YZ6x91GODwvIkqsU784Pw+vd3WkHkbGAfFGB0NtjvY8QI58+2gP4g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707178546; c=relaxed/simple; bh=9NypLZM2tEXd+GyB6FpQmrft/6iRx1o5Z33y+VeHbpA=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=brpRhcz4XwCroEnTkw16+jOkgE7LoWLaWZrbGxXvf7ZAb0oNj9LEAjwm/E2TwEQheY1B62jzwb4hPUL47OLINNsJdFM0hwE8luYS7yGuCbFPG9BWo4PG90lgiUF/mEioIRCe/t9c4Fdiw9x2PCStKi2AdJPaIM1PNioU5J7LNs4= 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=DeicHDOc; arc=none smtp.client-ip=91.218.175.189 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, 5 Feb 2024 19:15:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1707178540; 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=heVNvJcnn6416qhrWoUDj7AImSBv0rywq2SJ2v2xunk=; b=DeicHDOcckGsOp/J4wGcUd6QLXQbkhuFW+8ms0A5sP4k9wD2JOJ/mX/VnA8Thw1QrKHjKu 0D0gpg+YLG3CINRgf0oS8Jg6Y+1UL44u6763x2XVn8dN4i3eyTU5s5D5AfzV+UAMZ/in92 pfrMmKjANw4yUZRtK0IOkgRGtZGf/Yg= 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-kernel@vger.kernel.org Subject: [GIT PULL] bcachefs fixes for 6.8-rc4 Message-ID: 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: 1790106466054779231 X-GMAIL-MSGID: 1790106466054779231 The following changes since commit d2fda304bb739b97c1a3e46e39700eb49f07a62c: bcachefs: __lookup_dirent() works in snapshot, not subvol (2024-01-25 20:02:11 -0500) are available in the Git repository at: https://evilpiepirate.org/git/bcachefs.git tags/bcachefs-2024-02-05 for you to fetch changes up to 7b508b323b2ec45be59769bd4e4aeba729c52cf6: bcachefs: time_stats: Check for last_event == 0 when updating freq stats (2024-02-05 01:16:31 -0500) ---------------------------------------------------------------- bcachefs fixes for v6.8-rc4 Two serious ones here that we'll want to backport to stable: a fix for a race in the thread_with_file code, and another locking fixup in the subvolume deletion path. ---------------------------------------------------------------- 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 (1): bcachefs: time_stats: Check for last_event == 0 when updating freq stats Mathias Krause (1): bcachefs: install fd later to avoid race with close fs/bcachefs/fs-ioctl.c | 4 ++-- fs/bcachefs/mean_and_variance.h | 2 +- fs/bcachefs/thread_with_file.c | 2 +- fs/bcachefs/util.c | 5 +++-- 4 files changed, 7 insertions(+), 6 deletions(-)