Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp295011lqg; Fri, 1 Mar 2024 05:40:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUJANISLQupxYXocmmWyhWoLkUhjESS2nTkJIeCLcH/NvXnBcPwTboK+jUgnLefvxiSkYt2yaiwfqWP+tnJa8Mg0YBedN8ODs0pjSy6iQ== X-Google-Smtp-Source: AGHT+IHwUP8LBfG20XXcP3+NWXpJMIogh6RxyP6nuenbiUxE2iAOKpr7NqYpFMjUKKOPwCjFHd9j X-Received: by 2002:a05:622a:110e:b0:42e:6bae:f244 with SMTP id e14-20020a05622a110e00b0042e6baef244mr1612406qty.31.1709300448856; Fri, 01 Mar 2024 05:40:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300448; cv=pass; d=google.com; s=arc-20160816; b=HpH+dszdYzmbhQFV1At97B27aXpT6UMQsYt18oP4RJhmF6f5iuYU8d/ONRoM6uboPQ e/+WtvVPCDJ5kNgsEBc6njRekcvve5Em77Yy2Kfn/4QxwXPzps0/drnUDhg0jxehgqlX Datj6QKhndnNIsiPQ8Ff9zS1+UxBby+MNy3d8GjiC31328afU6NjYyJvS0Z3xbZyQx6o 1r0UxOHhWN+28S4QbSmYHDRgA6WGvdsckxxUh5W35wA6jadUYEmFS8xHRC4MQn29wiMS eouj7b1FwsXjsAGspjJXGTmQgsmhsHEiGyde4VEtyPxnL5JvQr4fo4n6F/nO9xruSRhJ zT2A== 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=Zj+zGP9Sa++I+q72KNtMQR36SXcnafQVnmCmlX6WdUc=; fh=cDc/K9aJi+EtsiQwx133+5SkxNKAJ5rEgWpWvzE9Xic=; b=EPoneHB1q9gASIbDSsC1A60eiTJbKZIa33P1Lv1hUSlJBcpFjBFzSI2Uj/wf8Z3PPj VFgdb/KGQskO76YB4jx/HTr6gJy6k+OBr3VlTo2oCiRVKC09hrOuGO6uJ92DAow9VITy cWkZqbOQci2tA47TXNuyQaHD9SzoD7xy8FRPnPLViaaOjQ7uwviIQFMBGfxf/tccVYRD drvJ3xZPGxIY4cN5YgbdvcJZLUdRAt7vDEcYbDTqQse31gevuFVU3dNtKBu6FUR5LSsX LRSgS9DEOaoWPh8le2r9iuVymrOSyn/szlWntMJ5dH4xn+QpXPi+v/S/wIKQGF72qtal BTMQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=ZTyIUkrH; dkim=pass header.i=@suse.com header.s=susede1 header.b=ZTyIUkrH; 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-88498-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88498-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p3-20020a05622a00c300b0042e897fd376si3819092qtw.766.2024.03.01.05.40.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:40:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88498-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=@suse.com header.s=susede1 header.b=ZTyIUkrH; dkim=pass header.i=@suse.com header.s=susede1 header.b=ZTyIUkrH; 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-88498-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88498-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7A6541C20FEF for ; Fri, 1 Mar 2024 13:40:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6338E6E60C; Fri, 1 Mar 2024 13:40:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="ZTyIUkrH"; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="ZTyIUkrH" Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (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 96D576E5E6; Fri, 1 Mar 2024 13:40:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709300410; cv=none; b=qKM33Rr0CBwZ2W9bq8hRc23PdN5Oqnhac5ARpO4AHXPG0OKbwteHxZWJoeckBzEl8z1ftTIhZfzuoEdlg5PkcyTQAbmiqSH6AL/Lv1/yuozv9OSnQuf2uNnbQwp+yPWmwP5h1acJ90+HKC4RCLLveA9vvVJaDGWxgKHospOPP5s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709300410; c=relaxed/simple; bh=/Hcui98i45tL/akTfhBkadYuzPXQg8gyV3keWHPuFnk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eDRdxut3JVmm2hGGYcF2Tmu3Q7OKs1/U6RUWGF4N0tjAzszys9axurKx3cWUFZF05RE2/WSfpr1Szxs+5lMdGSAc0eF9JdY6xAkitpIaRUTxoSN6ftDvsOhmKkDl0jA0bTaTaODXVyabg78yYzEKwsiOfxK/y5SLm8JLf18V6UQ= 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=ZTyIUkrH; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=ZTyIUkrH; arc=none smtp.client-ip=195.135.223.131 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 [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-out2.suse.de (Postfix) with ESMTPS id C4422204AB; Fri, 1 Mar 2024 13:40:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1709300405; 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=Zj+zGP9Sa++I+q72KNtMQR36SXcnafQVnmCmlX6WdUc=; b=ZTyIUkrHyzhNBDGRRf/mubcHGpcRwB1hdaIVVWgjZN8oX9vv6tRz1+69zTtjh8ukOBvLbU lAazvUUQXHYbIatwCjPNDZu/0tri8o3toz3/Q71n6xncalfubGIntkVDr/9H2LWKGEGxMt F1WwusGOfJpNkZPh2UMj9AUHA0Sdkmo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1709300405; 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=Zj+zGP9Sa++I+q72KNtMQR36SXcnafQVnmCmlX6WdUc=; b=ZTyIUkrHyzhNBDGRRf/mubcHGpcRwB1hdaIVVWgjZN8oX9vv6tRz1+69zTtjh8ukOBvLbU lAazvUUQXHYbIatwCjPNDZu/0tri8o3toz3/Q71n6xncalfubGIntkVDr/9H2LWKGEGxMt F1WwusGOfJpNkZPh2UMj9AUHA0Sdkmo= 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 BDC2C13A39; Fri, 1 Mar 2024 13:40:05 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id rz1OLrXa4WUXVwAAn2gu4w (envelope-from ); Fri, 01 Mar 2024 13:40:05 +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, part 2 Date: Fri, 1 Mar 2024 14:32:55 +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-out2.suse.de; none X-Spam-Level: *** X-Spam-Score: 3.71 X-Spamd-Result: default: False [3.71 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; 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)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; NEURAL_HAM_SHORT(-0.19)[-0.961]; MID_CONTAINS_FROM(1.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.00)[40.44%] X-Spam-Flag: NO Hi, a few more fixes. Please pull, thanks. - fix freeing allocated id for anon dev when snapshot creation fails - fiemap fixes - followup for a recent deadlock fix, ranges that fiemap can access can still race with ordered extent completion - make sure fiemap with SYNC flag does not race with writes ---------------------------------------------------------------- The following changes since commit c7bb26b847e5b97814f522686068c5628e2b3646: btrfs: fix data race at btrfs_use_block_rsv() when accessing block reserve (2024-02-22 12:15:12 +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 e2b54eaf28df0c978626c9736b94f003b523b451: btrfs: fix double free of anonymous device after snapshot creation failure (2024-02-29 22:34:11 +0100) ---------------------------------------------------------------- Filipe Manana (3): btrfs: fix race between ordered extent completion and fiemap btrfs: ensure fiemap doesn't race with writes when FIEMAP_FLAG_SYNC is given btrfs: fix double free of anonymous device after snapshot creation failure fs/btrfs/disk-io.c | 22 ++++----- fs/btrfs/disk-io.h | 2 +- fs/btrfs/extent_io.c | 124 +++++++++++++++++++++++++++++++++++++++++-------- fs/btrfs/inode.c | 22 ++++++++- fs/btrfs/ioctl.c | 2 +- fs/btrfs/transaction.c | 2 +- 6 files changed, 139 insertions(+), 35 deletions(-)