Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10425110ybi; Wed, 24 Jul 2019 23:00:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqw1Eyt6boRwWhGbIPlMcU9UZ2IccwFzurLxpKREvpvIIClKypuAa3q6MTcCo2lV0Atq5ABD X-Received: by 2002:a17:902:383:: with SMTP id d3mr4930741pld.176.1564034415314; Wed, 24 Jul 2019 23:00:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564034415; cv=none; d=google.com; s=arc-20160816; b=EMSMRAqM/b/vs4kzYf5NA01eAz6sDsyTj2bh2DfZsPLpbuSY81HM8Iv/p2FH/OFsO2 n8xoSAMz3CeUzAIob2dxMQ/UKs/deHKV7LnNMX2CwnOS+Zj+VYHAuzUgtmcqRUOjhtkJ zu8qTUqNhujSE0+aPSWGCdZmig4zmvCaY+LZcyEmzZfWApeIQ414U5q+1dcQI1pRTNeM b7xenL1fKMjnUso3TEBn6vE3VC47H2SZN8XSIsHMjjqFi0HJ3y7E2t4318m8N8lNfFiG Tlqc9sbVKdQMCP36uAzMoiDDO+Vh+0VniTyXlEyPhcEEkGhcnTY/MVezrfHXQu8MUNZe Xamw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=iYXysQinKhazg0mEpu0XANjOGCVaGaKgcICbNMLAVEs=; b=JyosG6Dtih+zE6eJ9OxSU1WZlB0LvNmtxG49qF5LTrut3ecyeTnLbdkVWV7kpoMY+B BwHLbesGPLbYRsWWLxtdUX/KjuaJan0c3v+BBX2G3hAqKSyMIrVI8USRpZ7cInZmO7uM bgtzGe2l5RVnZzVyQPfBzH2T0ghmDKxHi/QoDOmrej89gFo/pEJlqdO0xJNzDOKHz2wo t1c8J2DLYwuV1dxVacnbJ+QiBuWUQhjka+l7PEyBBqfPK9RM+ey73MJ7MoIPeWzQpij/ gYAlGhZmclTcYM6COzhyK/TPCq4tbk0UGfbJVSGipGR9yBq9thph3pustLO8nArs5OK1 oujA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qEps97Fg; 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 i11si15265204plb.20.2019.07.24.23.00.00; Wed, 24 Jul 2019 23:00:15 -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; dkim=pass header.i=@kernel.org header.s=default header.b=qEps97Fg; 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 S2390968AbfGYFmw (ORCPT + 99 others); Thu, 25 Jul 2019 01:42:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:57786 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390954AbfGYFmt (ORCPT ); Thu, 25 Jul 2019 01:42:49 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 662AF21850; Thu, 25 Jul 2019 05:42:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564033368; bh=2/S1hdU4cTruU/hKmKnpGuGjMHYqBrbHfZvNHrsHGH0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qEps97Fg4f5FxG2oDx6HUc+98Id6IfbNlxtc8SHmK4XZKGhEhJYrJrgI3k7KKTQJO 0qA+9q/xnwnzv2z2cx+NDZaAGWE4eVcYaztatG8oOFaQSaSE7flpiwR4RYGHW3F+JN cATMvNLjytPDrPVcxUD+3BFIuLPkhHvlf46D+/34= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Coly Li , Shenghui Wang , Jens Axboe Subject: [PATCH 4.19 185/271] bcache: Revert "bcache: free heap cache_set->flush_btree in bch_journal_free" Date: Wed, 24 Jul 2019 21:20:54 +0200 Message-Id: <20190724191710.984600453@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190724191655.268628197@linuxfoundation.org> References: <20190724191655.268628197@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Coly Li commit ba82c1ac1667d6efb91a268edb13fc9cdaecec9b upstream. This reverts commit 6268dc2c4703aabfb0b35681be709acf4c2826c6. This patch depends on commit c4dc2497d50d ("bcache: fix high CPU occupancy during journal") which is reverted in previous patch. So revert this one too. Fixes: 6268dc2c4703 ("bcache: free heap cache_set->flush_btree in bch_journal_free") Signed-off-by: Coly Li Cc: stable@vger.kernel.org Cc: Shenghui Wang Signed-off-by: Jens Axboe Signed-off-by: Greg Kroah-Hartman --- drivers/md/bcache/journal.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/md/bcache/journal.c +++ b/drivers/md/bcache/journal.c @@ -842,7 +842,6 @@ void bch_journal_free(struct cache_set * free_pages((unsigned long) c->journal.w[1].data, JSET_BITS); free_pages((unsigned long) c->journal.w[0].data, JSET_BITS); free_fifo(&c->journal.pin); - free_heap(&c->flush_btree); } int bch_journal_alloc(struct cache_set *c)