From patchwork Mon May 20 16:52:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Sterba X-Patchwork-Id: 10951891 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 759CE112C for ; Mon, 20 May 2019 16:51:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 616302889E for ; Mon, 20 May 2019 16:51:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 50403288A2; Mon, 20 May 2019 16:51:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DAC122889E for ; Mon, 20 May 2019 16:51:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390241AbfETQvw (ORCPT ); Mon, 20 May 2019 12:51:52 -0400 Received: from mx2.suse.de ([195.135.220.15]:56658 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388598AbfETQvw (ORCPT ); Mon, 20 May 2019 12:51:52 -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 86AA1AF99; Mon, 20 May 2019 16:51:51 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id D2D85DA86C; Mon, 20 May 2019 18:52:48 +0200 (CEST) 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.2-rc2 Date: Mon, 20 May 2019 18:52:43 +0200 Message-Id: X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, the branch contains fixes, notable hilights: * fixes for some long-standing bugs in fsync that were quite hard to catch but now finaly fixed * some fixups to error handling paths that did not properly clean up (locking, memory) * fix to space reservation for inheriting properties No merge conflicts, please pull. Thanks. ---------------------------------------------------------------- The following changes since commit b1c16ac978fd40ae636e629bb69a652df7eebdc2: btrfs: Use kvmalloc for allocating compressed path context (2019-05-02 13:48:19 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.2-rc1-tag for you to fetch changes up to 4e9845eff5a8027b5181d5bff56a02991fe46d48: Btrfs: tree-checker: detect file extent items with overlapping ranges (2019-05-16 14:33:51 +0200) ---------------------------------------------------------------- Filipe Manana (4): Btrfs: do not abort transaction at btrfs_update_root() after failure to COW path Btrfs: avoid fallback to transaction commit during fsync of files with holes Btrfs: fix race between ranged fsync and writeback of adjacent ranges Btrfs: tree-checker: detect file extent items with overlapping ranges Johnny Chang (1): btrfs: Check the compression level before getting a workspace Josef Bacik (2): btrfs: don't double unlock on error in btrfs_punch_hole btrfs: use the existing reserved items for our first prop for inheritance Qu Wenruo (1): btrfs: extent-tree: Fix a bug that btrfs is unable to add pinned bytes Tobin C. Harding (2): btrfs: sysfs: Fix error path kobject memory leak btrfs: sysfs: don't leak memory when failing add fsid fs/btrfs/compression.c | 1 + fs/btrfs/extent-tree.c | 15 ++++++++------- fs/btrfs/file.c | 16 +++++++++++++--- fs/btrfs/props.c | 30 ++++++++++++++++++++++-------- fs/btrfs/root-tree.c | 4 +--- fs/btrfs/sysfs.c | 7 ++++++- fs/btrfs/tree-checker.c | 49 +++++++++++++++++++++++++++++++++++++++++++++---- fs/btrfs/tree-log.c | 1 + 8 files changed, 97 insertions(+), 26 deletions(-)