Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp2553524ima; Sun, 3 Feb 2019 01:57:54 -0800 (PST) X-Google-Smtp-Source: AHgI3IbBfTT3TIYoCccIv/VrgaLv7zUc2kKXyxRDB8+AlC3uqSsyPjy0PXu7B7w/18c+JN2SUysE X-Received: by 2002:a63:104d:: with SMTP id 13mr9047567pgq.303.1549187874576; Sun, 03 Feb 2019 01:57:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549187874; cv=none; d=google.com; s=arc-20160816; b=B5puQ9jd5+n5NitLdBcBhSokYTjn2KPhO8n1hYCIxVHArkKBJ4hJlTekeqQsU1QFgU EyvVpkmMX/nLIwN/V8nyZvk1UZiGzxqrrXacwHtnWqCl1fIzgGw9pe8TS9iAJmiH5b/c c7axEkcEZbIesJzI9FOjuJjA8MYyQ+0RDJh4czv0jyokipWYY6lLmeGK6U1KhmYwW+07 RjDgFPODYVkOX6ng+o8KiV46VSLDMbwA2XVfOk/H0RZXmyIzolIk/wS4oD9WvkZq1/5s g6644IF4Y3LvLQrIdhsdCbHRAPQ6yrQXL6t8IUe0CSX1ARjg8c3LqRshBJyDxfhSsCCN 75Qg== 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=8Em8merGi2wlIubU90nWg4Ug+ETDN92e/8rKBHOUeEQ=; b=g6F+WkFx2VZXPVG7pfN4XO+vy55Cfd1K6WecXHXfsq6iL7sjWXZ65XCCSgAkA/kpc4 Qbm/PY265bGZEf+DoHys/i6D6adEK5xDgT+FAR8pc8zs6UjGzeTay0/EUCHbYuvJVXZO yOM+abL0c8b8bbCpDNzoI1p83rBeb+3UqEKydM/u18v4c8jMXnYdAQALLEPgiIW2KVuX JXocw9aflvjMsYDGLLZoZ5z3KpUpfKp2dXfu9pD9rRgfnRw8GHytCMRotrKytxqEb7D0 bkPb5UruPpV+ql4fFRGYyOuIcsb7Wi73qFTTr6Nj2iNeNENoH3c2bXEvuezbxywmIIER qyYg== 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 g32si12155815pgg.400.2019.02.03.01.57.27; Sun, 03 Feb 2019 01:57:54 -0800 (PST) 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 S1727534AbfBCJta (ORCPT + 99 others); Sun, 3 Feb 2019 04:49:30 -0500 Received: from mx2.suse.de ([195.135.220.15]:42490 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726754AbfBCJt3 (ORCPT ); Sun, 3 Feb 2019 04:49:29 -0500 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 460A1ACD2; Sun, 3 Feb 2019 09:49:28 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 55B12DA7D6; Sun, 3 Feb 2019 10:48:52 +0100 (CET) From: David Sterba To: torvalds@linux-foundation.org Cc: David Sterba , clm@fb.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Btrfs fixes for 5.0-rc5 Date: Sun, 3 Feb 2019 10:48:46 +0100 Message-Id: X-Mailer: git-send-email 2.20.1 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, there are a few fixes that I'd like to have in the 5.0 release. Last rc was skipped because one fix had to be reworked and more testing was needed. Please pull, thanks. - regression fix: transaction commit can run away due to delayed ref waiting heuristic, this is not necessary now because of the proper reservation mechanism introduced in 5.0 - regression fix: potential crash due to use-before-check of an ERR_PTR return value - fix for transaction abort during transaction commit that needs to properly clean up pending block groups - fix deadlock during b-tree node/leaf splitting, when this happens on some of the fundamental trees, we must prevent new tree block allocation to re-enter indirectly via the block group flushing path - potential memory leak after errors during mount ---------------------------------------------------------------- The following changes since commit fd340d0f68cc87badfc9efcb226f23a5428826a0: btrfs: wakeup cleaner thread when adding delayed iput (2019-01-18 17:27:23 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.0-rc4-tag for you to fetch changes up to 532b618bdf237250d6d4566536d4b6ce3d0a31fe: btrfs: On error always free subvol_name in btrfs_mount (2019-01-30 18:16:47 +0100) ---------------------------------------------------------------- Al Viro (1): btrfs: fix potential oops in device_list_add David Sterba (1): btrfs: clean up pending block groups when transaction commit aborts Eric W. Biederman (1): btrfs: On error always free subvol_name in btrfs_mount Filipe Manana (1): Btrfs: fix deadlock when allocating tree block during leaf/node split Josef Bacik (1): btrfs: don't end the transaction for delayed refs in throttle fs/btrfs/ctree.c | 78 ++++++++++++++++++++++++++++++++------------------ fs/btrfs/super.c | 3 ++ fs/btrfs/transaction.c | 24 ++++++++++------ fs/btrfs/volumes.c | 4 +-- 4 files changed, 71 insertions(+), 38 deletions(-)