Received: by 2002:ab2:644:0:b0:1ec:cbc4:63fb with SMTP id 4csp1143251lqn; Mon, 26 Feb 2024 08:52:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXNg/y6d0VpI61FKHhT7V6chJyAdZ/j67l2nCCU3iNFwSAbwRNNffkZgrPTSAkrOGrK4yy3aVhPkoqM0ePZNMfdnHtIW/iDaR65GwRQAg== X-Google-Smtp-Source: AGHT+IG0eENkmRgxb110MS/GNB7AUALZ9GZRvoheoqtEoDAMod+mV+SIrQfBKPh854kw9IqnYceZ X-Received: by 2002:a05:6a21:1743:b0:1a0:ff19:252a with SMTP id nw3-20020a056a21174300b001a0ff19252amr2655156pzb.34.1708966365380; Mon, 26 Feb 2024 08:52:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708966365; cv=pass; d=google.com; s=arc-20160816; b=SnR5UvpNbf76C/DV8c6I8sn/6sq6QUUu/LbeCoVpe7EsM+Soe7lpY7WNyBUCEjHcP0 ppub4q4WUmaCbSJ58LYH0iQmaCO1E8ZRh9k4mDv9Rz0+XwujUA6yW42JxjGUDK0R/vKm RlGegALLnAfPZfXm8eh9F4roaZghe/pgcoGIthVQ55Tk8lllPsTBsFbvszhPUD09y87d keNdZDfT94rsMcPB7otQSVlutqSuWifrdD6bCA6SGksxsfI0GcqdUkLeijjSh5aE6unS ZQTOqrckFhZkp6z3cEk38jWCfJbhvk7OIlVPRVhIR014kjB+5Rat2B3mIvw9vNV+CJ0E bXpg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature:dkim-signature; bh=vSafhwLE+1aCEASRiDt9ClUCXjXwFnHWlE/OOquVbwU=; fh=cDc/K9aJi+EtsiQwx133+5SkxNKAJ5rEgWpWvzE9Xic=; b=vZacVAtNCbQnDmGaY+fDRXry6/wVhcGSJZMrHYiqhYm949GSsbMqgESBIXMGI8zUB5 ApEx40umWLqh6uyOvb3rgrr160Mt66NdGYrWTnT6a81f/eGZ4Bg4GW0n0uP2OnAP16lC pph52kPf3YobZAkaxyeTxoI86XqVdO3T7ao5WTbcCJlhTfS68lCbCY2ucuU0BwkLH7dL E1vfuaWhN8B5gOlXt5qByg7aljL2fIYhngOT0hvvzswJtUQb+CpmMutzVI6+oDUQuGbv M0mfcitFeIADql3HrjdOAa/CYX2eSs/Ub7N468SA8k/H02CVNaG077vkWXriAfAysoxR b47w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=jzVIbQ+Y; dkim=pass header.i=@suse.com header.s=susede1 header.b=jzVIbQ+Y; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-81942-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81942-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f4-20020a056a00238400b006e489241e68si4023057pfc.298.2024.02.26.08.52.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 08:52:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81942-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=@suse.com header.s=susede1 header.b=jzVIbQ+Y; dkim=pass header.i=@suse.com header.s=susede1 header.b=jzVIbQ+Y; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-81942-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81942-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com 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 6025529696F for ; Mon, 26 Feb 2024 16:51:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3554B12CD86; Mon, 26 Feb 2024 16:50:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="jzVIbQ+Y"; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="jzVIbQ+Y" Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9F92012C522; Mon, 26 Feb 2024 16:50:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708966236; cv=none; b=ETNbZqpz5XpyLIhepbdIlOrptW19JddyiJz67d34OzqPQY467fO1Ejh+DWYJlRanrfLXGOdWqcdeF87OqX2fEJosXcbmHCOMZnRelUn9y/dVSWgrjVQjUHX1I5hb8Q4AxXjidOUUPlSeLMbo6JhGECaFEiqv9fwnBZe5ejzRTLI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708966236; c=relaxed/simple; bh=zFDIMUC+lqSpZcHbyK06xZsz4qOXYCnZ94ay5MgE1fU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Xf8B36xMXLZJdP/VeDx5aBN0tWTtRmzjpd0s6lgADEVUOZyJnIdDxo4CKyszfbLmXXI7eI2kSMyKJE5syHh2oU6QXANpyDEMBwKtgsvkEdOYHCj26jlAd1iDz+IbTSnoUnPMQOL3R0VB3wbGLgDlQEUygWkE0KFhCyvdqYxbcUU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=jzVIbQ+Y; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=jzVIbQ+Y; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id AEA1F22234; Mon, 26 Feb 2024 16:50:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1708966231; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=vSafhwLE+1aCEASRiDt9ClUCXjXwFnHWlE/OOquVbwU=; b=jzVIbQ+YuBJxiqK/9P59wPFCUqphbhgCNjuzwAG3PwzG4LqztEIPytAIUKvJxMtJ357Zfc 3AJ1CFGm39C8eOc0MrbiBQW9noo6kRWAyBOswvblE37y4sc34ufmMXHlbge8q+1+KwOTtN Uc7k5uWGzBveLcuA7EI3dGBF2F3QIcU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1708966231; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=vSafhwLE+1aCEASRiDt9ClUCXjXwFnHWlE/OOquVbwU=; b=jzVIbQ+YuBJxiqK/9P59wPFCUqphbhgCNjuzwAG3PwzG4LqztEIPytAIUKvJxMtJ357Zfc 3AJ1CFGm39C8eOc0MrbiBQW9noo6kRWAyBOswvblE37y4sc34ufmMXHlbge8q+1+KwOTtN Uc7k5uWGzBveLcuA7EI3dGBF2F3QIcU= Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id A48CD1329E; Mon, 26 Feb 2024 16:50:31 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id oD7kJ1fB3GUVAwAAn2gu4w (envelope-from ); Mon, 26 Feb 2024 16:50:31 +0000 From: David Sterba To: torvalds@linux-foundation.org Cc: David Sterba , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Btrfs fixes for 6.8-rc7 Date: Mon, 26 Feb 2024 17:49:20 +0100 Message-ID: X-Mailer: git-send-email 2.42.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.com header.s=susede1 header.b=jzVIbQ+Y X-Spamd-Result: default: False [1.69 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[suse.com:s=susede1]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_MISSING_CHARSET(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; BROKEN_CONTENT_TYPE(1.50)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DWL_DNSWL_BLOCKED(0.00)[suse.com:dkim]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; DKIM_TRACE(0.00)[suse.com:+]; MX_GOOD(-0.01)[]; MID_CONTAINS_FROM(1.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.com:dkim]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-3.00)[100.00%] X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Score: 1.69 X-Rspamd-Queue-Id: AEA1F22234 X-Spam-Level: * X-Spam-Flag: NO X-Spamd-Bar: + Hi, a few more fixes for recently reported or discovered problems. Please pull, thanks. - fix corner case of send that would generate potentially large stream of zeros if there's a hole at the end of the file - fix chunk validation in zoned mode on conventional zones, it was possible to create chunks that would not be allowed on sequential zones - fix validation of dev-replace ioctl filenames - fix KCSAN warnings about access to block reserve struct members ---------------------------------------------------------------- The following changes since commit b0ad381fa7690244802aed119b478b4bdafc31dd: btrfs: fix deadlock with fiemap and extent locking (2024-02-19 11:20:00 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.8-rc6-tag for you to fetch changes up to c7bb26b847e5b97814f522686068c5628e2b3646: btrfs: fix data race at btrfs_use_block_rsv() when accessing block reserve (2024-02-22 12:15:12 +0100) ---------------------------------------------------------------- David Sterba (1): btrfs: dev-replace: properly validate device names Filipe Manana (3): btrfs: send: don't issue unnecessary zero writes for trailing hole btrfs: fix data races when accessing the reserved amount of block reserves btrfs: fix data race at btrfs_use_block_rsv() when accessing block reserve Johannes Thumshirn (1): btrfs: zoned: don't skip block group profile checks on conventional zones fs/btrfs/block-rsv.c | 2 +- fs/btrfs/block-rsv.h | 32 ++++++++++++++++++++++++++++++++ fs/btrfs/dev-replace.c | 24 ++++++++++++++++++++---- fs/btrfs/send.c | 17 +++++++++++++---- fs/btrfs/space-info.c | 26 +++++++++++++------------- fs/btrfs/zoned.c | 9 +++++++++ 6 files changed, 88 insertions(+), 22 deletions(-)