Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp7019562ybn; Mon, 30 Sep 2019 07:28:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqy61OYcJXJ/73Ij2ackSiHGA0n7For0/3i362YKko+l0RGmnTcS6A/l6MP7tPa64koqhd/a X-Received: by 2002:a50:aa96:: with SMTP id q22mr19929692edc.179.1569853700690; Mon, 30 Sep 2019 07:28:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569853700; cv=none; d=google.com; s=arc-20160816; b=uDtJvXijaXRGh2pvnotBKzyK9wOECNvbeWBcTmRY5r018Ajz82KnFfRgIN9NcBgbvA uAiLdJ8cAtSKTdjUQKWqv9JjOb76JFz/oCzcRH9os36d4MotkiRv9hxHKxu+9UqeHhRK c4SegSd3u0bFc1fjM92Ra3v+n8BAkg/SexE+IIOAybLXduxkvkdZ5xta5cp8K31pUDAO 90K5TYZKmhhrEhqqkxsyns7ThyD9Zz1XLra1oETpKAFUSoQ72JB6Sjm8z/+QODo2JmWZ GKSEel6F8zqLor3NbCRhS0UCG/q9bYYTVpu5KIocwSO7dzGpOZdllXWiK6MpfWVHVJII iBiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=4ymMrbrtEAeV9uKYBndJGMs5tHAleTWA7h0H28qnoUE=; b=nIcKzShV3i7/6OfHBksKnRYpa21s2ICWiEhBg8DE8ru05hB0Hb1O/A+FPakRLIWnEs 0lFKs9vQL8zV1WVCzxj8kj2BTjcN+qasZZigcKJEP4gdFoUJPzfHreYFDafHiPx/V0oj z9X+yIuQnnPMtYx05rgoAPwrsxyM8xikBpMFzx3YvWcq669LXp/jOCj6ddKu95bIYp6Q lZc2s6w0wOTf+96JDCFjYzH2hHagq5IXNE7PN3zig6Jt90f6rmHphVRvfHansC+1RoQ+ p48UUp0FqIZig2qKO///8E+PN6+4IAjpM/zd2LGUOhVtfRRyaI9G+7lIkwIpIexeBy52 7j9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h4si8422816edd.189.2019.09.30.07.27.54; Mon, 30 Sep 2019 07:28:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731671AbfI3OYz (ORCPT + 99 others); Mon, 30 Sep 2019 10:24:55 -0400 Received: from mx2.suse.de ([195.135.220.15]:35556 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731030AbfI3OYy (ORCPT ); Mon, 30 Sep 2019 10:24:54 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id A8522B176; Mon, 30 Sep 2019 14:24:52 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id CA8E1DA88C; Mon, 30 Sep 2019 16:25:10 +0200 (CEST) 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 5.4-rc2 Date: Mon, 30 Sep 2019 16:25:08 +0200 Message-Id: X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, a bunch of fixes that accumulated in recent weeks, mostly material for stable. Summary: - fix for regression from 5.3 that prevents to use balance convert with single profile - qgroup fixes: rescan race, accounting leak with multiple writers, potential leak after io failure recovery - fix for use after free in relocation (reported by KASAN) - other error handling fixups Please pull, thanks. ---------------------------------------------------------------- The following changes since commit 6af112b11a4bc1b560f60a618ac9c1dcefe9836e: btrfs: Relinquish CPUs in btrfs_compare_trees (2019-09-09 14:59:20 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.4-rc1-tag for you to fetch changes up to d4e204948fe3e0dc8e1fbf3f8f3290c9c2823be3: btrfs: qgroup: Fix reserved data space leak if we have multiple reserve calls (2019-09-27 15:24:34 +0200) ---------------------------------------------------------------- Dennis Zhou (1): btrfs: adjust dirty_metadata_bytes after writeback failure of extent buffer Filipe Manana (3): Btrfs: fix selftests failure due to uninitialized i_mode in test inodes Btrfs: fix missing error return if writeback for extent buffer never started Btrfs: fix race setting up and completing qgroup rescan workers Qu Wenruo (4): btrfs: relocation: fix use-after-free on dead relocation roots btrfs: Fix a regression which we can't convert to SINGLE profile btrfs: qgroup: Fix the wrong target io_tree when freeing reserved data space btrfs: qgroup: Fix reserved data space leak if we have multiple reserve calls fs/btrfs/extent_io.c | 13 +++++++++++++ fs/btrfs/qgroup.c | 38 +++++++++++++++++++++++--------------- fs/btrfs/relocation.c | 9 ++++++++- fs/btrfs/tests/btrfs-tests.c | 8 +++++++- fs/btrfs/volumes.c | 8 +++++++- 5 files changed, 58 insertions(+), 18 deletions(-)