Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2181930iog; Sun, 26 Jun 2022 08:42:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tGnx4pGjg9vzi3P+yGLHm4r92XAX41w2ssF5CeeZT2w4xncgvwQkGesLgAiCZehz+Vx1lw X-Received: by 2002:a05:6a00:1581:b0:525:9d99:cce8 with SMTP id u1-20020a056a00158100b005259d99cce8mr5447212pfk.51.1656258164754; Sun, 26 Jun 2022 08:42:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656258164; cv=none; d=google.com; s=arc-20160816; b=lPBeVLzbRxf5lILZ6gXhUFMl2ct7ZyQ27tkpRO+L8dy4DWSDMMB6QRdjdFIxGpKjQP yp8hWGmeKodHXs1AN8cZwFgcxpX7Fv+nasADpzU8lQnmY1Hx4ZTNEsH1HT7TYyxMFbaO QA1o2j5MOq/cXkQoH+sF3kK9RhUVu4RPmzkz4592r4ZuQqNGd2lUCpgKn1tVIhyIlxi4 OaLhVWdq8Y8Z8vZANEGbIF9aaIfnHXF+/y/4FnaEG4VN8X2A2MgZW/3yNtB7eoIj72FT QEQcdBDIWhfhgXt4CfzR50dvavEJQqqH+I6qGFfSgyHWFpqjHzQOpTe3bzbczu6oBMYF N+FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :mail-followup-to:message-id:subject:cc:to:from:date:dkim-signature; bh=YBRdcRQGkGl7F8QD6nmHrqIMpqfMTq1AWLLsJs1w/ks=; b=lW3s4eNKD2xAnMP8g3lZo8pa1DatHEM+X/UmXP5HQkUId7sN7gDtyOqcEBG8vXib5i kmKmiJl9lC0NHSN3n5evOlFDvmcm3eAouIY2euF1qX0LqdsGwhrZl7hGCuDSwn5mEULG xIKJwTuSsWIVadH1Mx33Ie0J5WoqXLTGcvvPa7KVb3iGr35n+8hy635RGdkj6v3g8hM7 ZwO6QL3fiA7OCO77fJUiWBXoUq1iZToypZZnNqExG1E0OysJnrtk8pdpf+mTEigiHkGz SEU8vKa5ByKxjTQ1zC2x8uaNW64qODrWeqQK3/LduVghoA0EMEYqb+eOsZs7FqvEKrWk HQ7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=kiiPHyfe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e64-20020a636943000000b0040d1fc1bbdcsi11551810pgc.478.2022.06.26.08.42.30; Sun, 26 Jun 2022 08:42:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=kiiPHyfe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231534AbiFZPet (ORCPT + 99 others); Sun, 26 Jun 2022 11:34:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbiFZPes (ORCPT ); Sun, 26 Jun 2022 11:34:48 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EF3CBC89; Sun, 26 Jun 2022 08:34:47 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id CC4EA21D38; Sun, 26 Jun 2022 15:34:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1656257685; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=YBRdcRQGkGl7F8QD6nmHrqIMpqfMTq1AWLLsJs1w/ks=; b=kiiPHyfexzBf03MopxZNtsv2OA0OSML5Jz48jtnINyLK1IexmRrYhz/Ezx+OvfjPwDAKvR Z8srK1XFof5ErYlayP8thM65nBXB9BN7nRVNhX/ZZq87jrklHbj+RIuE5Wf1S6ppKEZewc GVhuwiHKERrriH/6y7vCk7yeSnm9wMY= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id A2AF513AF9; Sun, 26 Jun 2022 15:34:45 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id oZy3JpV8uGLtXQAAMHmgww (envelope-from ); Sun, 26 Jun 2022 15:34:45 +0000 Date: Sun, 26 Jun 2022 17:30:05 +0200 From: David Sterba To: torvalds@linux-foundation.org Cc: linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Btrfs fixes for 5.19-rc4, part 2 Message-ID: Mail-Followup-To: David Sterba , torvalds@linux-foundation.org, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, a few more fixes, they have been in testing branches for last weeks. Please pull, thanks. - zoned relocation fixes - fix critical section end for extent writeback, this could lead to out of order write - prevent writing to previous data relocation block group if space gets low - reflink fixes - fix race between reflinking and ordered extent completion - proper error handling when block reserve migration fails - add missing inode iversion/mtime/ctime updates on each iteration when replacing extents - fix deadlock when running fsync/fiemap/commit at the same time - fix KCSAN report regarding pid tracking for read locks and data race, but that's a false alert - minor documentation update and link to new site ---------------------------------------------------------------- The following changes since commit e3a4167c880cf889f66887a152799df4d609dd21: btrfs: add error messages to all unrecognized mount options (2022-06-07 17:29:50 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.19-rc3-tag for you to fetch changes up to 037e127452b973f45b34c1e88a1af183e652e657: Documentation: update btrfs list of features and link to readthedocs.io (2022-06-21 14:47:19 +0200) ---------------------------------------------------------------- David Sterba (1): Documentation: update btrfs list of features and link to readthedocs.io Filipe Manana (3): btrfs: fix race between reflinking and ordered extent completion btrfs: add missing inode updates on each iteration when replacing extents btrfs: do not BUG_ON() on failure to migrate space when replacing extents Josef Bacik (1): btrfs: fix deadlock with fsync+fiemap+transaction commit Naohiro Aota (2): btrfs: zoned: prevent allocation from previous data relocation BG btrfs: zoned: fix critical section of relocation inode writeback Zygo Blaxell (1): btrfs: don't set lock_owner when locking extent buffer for reading Documentation/filesystems/btrfs.rst | 16 +++++-- fs/btrfs/block-group.h | 1 + fs/btrfs/ctree.h | 2 + fs/btrfs/extent-tree.c | 20 +++++++- fs/btrfs/extent_io.c | 3 +- fs/btrfs/file.c | 92 ++++++++++++++++++++++++++++++------- fs/btrfs/inode.c | 3 ++ fs/btrfs/locking.c | 3 -- fs/btrfs/reflink.c | 16 +++++-- fs/btrfs/zoned.c | 27 +++++++++++ fs/btrfs/zoned.h | 5 ++ 11 files changed, 158 insertions(+), 30 deletions(-)