Message ID | 20181011195431.3441-25-josef@toxicpanda.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-btrfs-owner@kernel.org> 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 22AC6157A for <patchwork-linux-btrfs@patchwork.kernel.org>; Thu, 11 Oct 2018 19:55:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 114272C09B for <patchwork-linux-btrfs@patchwork.kernel.org>; Thu, 11 Oct 2018 19:55:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 05C452C0A2; Thu, 11 Oct 2018 19:55:22 +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,DKIM_SIGNED, DKIM_VALID,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 A247D2C09B for <patchwork-linux-btrfs@patchwork.kernel.org>; Thu, 11 Oct 2018 19:55:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727044AbeJLDYF (ORCPT <rfc822;patchwork-linux-btrfs@patchwork.kernel.org>); Thu, 11 Oct 2018 23:24:05 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:39930 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726831AbeJLDYF (ORCPT <rfc822;linux-btrfs@vger.kernel.org>); Thu, 11 Oct 2018 23:24:05 -0400 Received: by mail-qk1-f195.google.com with SMTP id q5-v6so6273722qki.6 for <linux-btrfs@vger.kernel.org>; Thu, 11 Oct 2018 12:55:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=5ErWA8iDFY+6lz4JimjzCOpUtgurbUZk5oK0tyfx1Sk=; b=vXUEaHu6EI4QOrztq8r6jxGq+TwWOTeI5byEwAKRUsqU6R+X3VvX2+B21eEhzqbzL2 ORwT6hHFL5iVETNhjVOdNvUA05cawKOW+IfZzVMu1CtdBuCSrsIG5W9lVdtaJ2bHdhrl QtmjTMEm7eOEuEitlHTkdtIEElAawnS/PoRkKWxQq5MD4g7TYxXqDqs5PsURMJ256CJE RsqVCZjkAM1OIvEPoz0L0+KxBIxuTpY6CbZx6JZJYUD+fTSg4jaUQNvNQ6Y/0nZ8zT7G u/8OX117Djh4JvsqvmGgzys7mvnf28cZ/0ZTzhbnahXUTEZcsu75hRMnA0V7Sjamp0bX bFIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=5ErWA8iDFY+6lz4JimjzCOpUtgurbUZk5oK0tyfx1Sk=; b=UclJKpTyHX2yyqgI+bZ7mUi2xTdOBY+e0C+Sv/jDCrLNAoPscMFFZMFN+Wdtxayqnr KX5OTrZlDDas+zkaGqcPH2TVSKH3f8Ht4SKr7gs7rV5pUD3MUe3AzYVYufr7oMtM1u8Y pcWdq11uFnrGnZ5rJPKXVodIg9ryIADNTPH8DqTyefMQjAtb1K7kGZpVgTrB7W4adyT6 Dr3YdaPuWGlrQFKTDI0zsTOpJCIBa8d3TxbLC1XcUdRDkqq4JZVajfCHMBJ/30zotFd9 k30q+6jr2vB4w1erEKfEsLHgVlLLmuu7mhClgwU7RYwQhg/+rulqiqDp9CbHMQyK7Omb dkLA== X-Gm-Message-State: ABuFfoj8IPSYzTieNLjw2isiSOKu/dmBFjcchOnsquvkfOAFM55f6LE9 gjrJpm/ujdGcimaL9TMpv3Xui1jZLlg= X-Google-Smtp-Source: ACcGV62fJ6FlKbyoJqiIJ0PeckMX20CGJ9vAC/RdcRZ6skbM4XjsJJNg8FDE5w1BWq2JIDo6iJIt0w== X-Received: by 2002:a37:aa44:: with SMTP id t65-v6mr3049606qke.121.1539287719398; Thu, 11 Oct 2018 12:55:19 -0700 (PDT) Received: from localhost ([107.15.81.208]) by smtp.gmail.com with ESMTPSA id 18-v6sm18686875qtm.13.2018.10.11.12.55.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Oct 2018 12:55:18 -0700 (PDT) From: Josef Bacik <josef@toxicpanda.com> To: kernel-team@fb.com, linux-btrfs@vger.kernel.org Subject: [PATCH 24/42] btrfs: assert on non-empty delayed iputs Date: Thu, 11 Oct 2018 15:54:13 -0400 Message-Id: <20181011195431.3441-25-josef@toxicpanda.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20181011195431.3441-1-josef@toxicpanda.com> References: <20181011195431.3441-1-josef@toxicpanda.com> Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: <linux-btrfs.vger.kernel.org> X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
My current patch queue
|
expand
|
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 377ad9c1cb17..39bd158466cd 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -3979,6 +3979,7 @@ void close_ctree(struct btrfs_fs_info *fs_info) kthread_stop(fs_info->transaction_kthread); kthread_stop(fs_info->cleaner_kthread); + ASSERT(list_empty(&fs_info->delayed_iputs)); set_bit(BTRFS_FS_CLOSING_DONE, &fs_info->flags); btrfs_free_qgroup_config(fs_info);