Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4022653rdh; Tue, 28 Nov 2023 09:41:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IEDqiUWujhK+9B0+KJuv9ogfoCpSl8Pchi41OggKFe0cmAUBgJcto8kPZPVenX14xwlIwC7 X-Received: by 2002:a05:6a00:2e8b:b0:6cb:4361:773c with SMTP id fd11-20020a056a002e8b00b006cb4361773cmr21138458pfb.5.1701193271167; Tue, 28 Nov 2023 09:41:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701193271; cv=none; d=google.com; s=arc-20160816; b=M8TIFtMbllGF7ymd9HtG3VaC1RoFhx5HC5BAJ5p0ahhfqRr6y2+qIZz4g2tyj4Bu7l gt3qHMCwa7zTmToG1eKWfCHGnuier+6p2pvs6i1uvEEWLVxoj686SHYEbDvsgOJ4KnGb OkefpoUExPx0aE2gAlMR7mpKvpUTTLSx4ZgLBc8DIbhW8/5kjtTojKSLBt7/w2DYboQi e8cnXgWrDFleZLxUy+1X4mw102IdGl96T2z/E9EVlsY0+ssiw0D44DfFmX2z97zyEBoZ BGOJ907RgrCAeSK2978yFT87aey231uCLe77qFYpRnqocey41/KibdQlfBDIemuKupJ5 jKPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=vAnAMESl/RBl5agN44vVIGlcM5QSzJDmBjb6iA6A5vA=; fh=cDc/K9aJi+EtsiQwx133+5SkxNKAJ5rEgWpWvzE9Xic=; b=GZZPaWiXkj4jaHK8xUsgLx8bWXJOENIw6KRgv3DOKY6vzGso2VoMrB2V+V2jHt/GV5 mnOD/lLSmFw04BShr3JF+8FIQgJXKh1VqRxwuPzxgXPGSYF5HS/v6FyAhLOhxFJFORS3 LOAG1LuSrxibx0MnZgsokEznU+Vt333Zr8oVajC8+VaiFDPw47s5q+xoUjktrgiuYOPD 9A1tuzY3f7iqBG1jhgpKoPxixlhguNqllc1blSj8nS0Wztc8jXhvaKL868mTrsWyfc3M Un//SV6AO7JqXlBOr+IlM5JgI+R9WNXPeo8tFO7kSqwgkPi7JjIkp43Hck6CQVTDajAQ Klng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=b1Pp+ndv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id 37-20020a630f65000000b005b8ea4a4ab6si12876828pgp.623.2023.11.28.09.41.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 09:41:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=b1Pp+ndv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 71CD1807616F; Tue, 28 Nov 2023 09:40:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345166AbjK1RkK (ORCPT + 99 others); Tue, 28 Nov 2023 12:40:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345197AbjK1RkI (ORCPT ); Tue, 28 Nov 2023 12:40:08 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2a07:de40:b251:101:10:150:64:1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10481D5B; Tue, 28 Nov 2023 09:40:14 -0800 (PST) Received: from relay2.suse.de (unknown [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 92E06219A6; Tue, 28 Nov 2023 17:40:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1701193212; 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=vAnAMESl/RBl5agN44vVIGlcM5QSzJDmBjb6iA6A5vA=; b=b1Pp+ndv/UVUOUZq50Z7179KQ7WWCW7i1BKysBKsGD4JigbE46gU3Q/askHemVvPTC6vV2 XKF7pFlTHR1R5sLxbPOaR9p2vAJw3eZ7VGtDQEscH3ZC8n/dkrAHWqOMQoPihCxs5F0cho YD9JocMe6yDGMyxq/BN613cgKzgv/Us= Received: from ds.suse.cz (ds.suse.cz [10.100.12.205]) by relay2.suse.de (Postfix) with ESMTP id 6211F2C152; Tue, 28 Nov 2023 17:40:11 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 78178DA86C; Tue, 28 Nov 2023 18:32:59 +0100 (CET) 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.7-rc4 Date: Tue, 28 Nov 2023 18:32:56 +0100 Message-ID: X-Mailer: git-send-email 2.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: +++++++++++++++++++++ X-Spam-Score: 21.50 X-Rspamd-Server: rspamd1 Authentication-Results: smtp-out1.suse.de; dkim=none; spf=pass (smtp-out1.suse.de: domain of dsterba@suse.cz designates 149.44.160.134 as permitted sender) smtp.mailfrom=dsterba@suse.cz; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=suse.com (policy=quarantine) X-Rspamd-Queue-Id: 92E06219A6 X-Spamd-Result: default: False [21.50 / 50.00]; RDNS_NONE(1.00)[]; SPAMHAUS_XBL(0.00)[149.44.160.134:from]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; R_SPF_ALLOW(-0.20)[+ip4:149.44.0.0/16]; RWL_MAILSPIKE_GOOD(0.00)[149.44.160.134:from]; HFILTER_HELO_IP_A(1.00)[relay2.suse.de]; BROKEN_CONTENT_TYPE(1.50)[]; HFILTER_HELO_NORES_A_OR_MX(0.30)[relay2.suse.de]; MX_GOOD(-0.01)[]; FORGED_SENDER(0.30)[dsterba@suse.com,dsterba@suse.cz]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(2.20)[]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.10)[dsterba@suse.com,dsterba@suse.cz]; BAYES_HAM(-3.00)[100.00%]; RDNS_DNSFAIL(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(3.00)[1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_QUARANTINE(1.50)[suse.com : SPF not aligned (relaxed), No valid DKIM,quarantine]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; NEURAL_SPAM_LONG(3.50)[1.000]; MID_CONTAINS_FROM(1.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_COUNT_TWO(0.00)[2]; HFILTER_HOSTNAME_UNKNOWN(2.50)[] X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 28 Nov 2023 09:40:33 -0800 (PST) Hi, there are a few fixes and message updates. Please pull, thanks. - fixes: - for simple quotas, handle the case when a snapshot is created and the target qgroup already exists - fix a warning when file descriptor given to send ioctl is not writable - fix off-by-one condition when checking chunk maps - free pages when page array allocation fails during compression read, other cases were handled - fix memory leak on error handling path in ref-verify debugging feature - copy missing struct member 'version' in 64/32bit compat send ioctl - other updates - tree-checker verifies inline backref ordering - print messages to syslog on first mount and last unmount - update error messages when reading chunk maps ---------------------------------------------------------------- The following changes since commit d3933152442b7f94419e9ea71835d71b620baf0e: btrfs: make OWNER_REF_KEY type value smallest among inline refs (2023-11-09 14:02:12 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.7-rc3-tag for you to fetch changes up to 0ac1d13a55eb37d398b63e6ff6db4a09a2c9128c: btrfs: send: ensure send_fd is writable (2023-11-24 18:50:53 +0100) ---------------------------------------------------------------- Bragatheswaran Manickavel (1): btrfs: ref-verify: fix memory leaks in btrfs_ref_tree_mod() David Sterba (1): btrfs: fix 64bit compat send ioctl arguments not initializing version member Filipe Manana (2): btrfs: fix off-by-one when checking chunk map includes logical address btrfs: make error messages more clear when getting a chunk map Jann Horn (1): btrfs: send: ensure send_fd is writable Qu Wenruo (4): btrfs: tree-checker: add type and sequence check for inline backrefs btrfs: do not abort transaction if there is already an existing qgroup btrfs: add dmesg output for first mount and last unmount of a filesystem btrfs: free the allocated memory if btrfs_alloc_page_array() fails fs/btrfs/disk-io.c | 1 + fs/btrfs/extent_io.c | 11 ++++++++--- fs/btrfs/ioctl.c | 1 + fs/btrfs/ref-verify.c | 2 ++ fs/btrfs/send.c | 2 +- fs/btrfs/super.c | 5 ++++- fs/btrfs/transaction.c | 2 +- fs/btrfs/tree-checker.c | 39 +++++++++++++++++++++++++++++++++++++++ fs/btrfs/volumes.c | 9 +++++---- 9 files changed, 62 insertions(+), 10 deletions(-)