From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60BA7C54FCB for ; Mon, 20 Apr 2020 23:21:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3C79E22202 for ; Mon, 20 Apr 2020 23:21:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726919AbgDTXVA (ORCPT ); Mon, 20 Apr 2020 19:21:00 -0400 Received: from mx2.suse.de ([195.135.220.15]:35292 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726055AbgDTXVA (ORCPT ); Mon, 20 Apr 2020 19:21:00 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 5A755AE44; Mon, 20 Apr 2020 23:20:58 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id C995EDA70B; Tue, 21 Apr 2020 01:20:16 +0200 (CEST) Date: Tue, 21 Apr 2020 01:20:16 +0200 From: David Sterba To: Johannes Thumshirn Cc: Josef Bacik , "linux-btrfs@vger.kernel.org" , "kernel-team@fb.com" Subject: Re: [PATCH] btrfs: fix setting last_trans for reloc roots Message-ID: <20200420232016.GL18421@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Johannes Thumshirn , Josef Bacik , "linux-btrfs@vger.kernel.org" , "kernel-team@fb.com" References: <20200410154248.2646406-1-josef@toxicpanda.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Thu, Apr 16, 2020 at 03:34:30PM +0000, Johannes Thumshirn wrote: > On 16/04/2020 14:38, Johannes Thumshirn wrote: > > This fixes a kmemleak complaint from btrfs/074, complete re-run of > > xfstests is pending, but one down again. > > > > Tested-by: Johannes Thumshirn > > > > I'll take that back, I still see a leak of 'cur_trans' allocated in > join_transaction() for btrfs/074 on a full xfstests run. The same leak > is reported for btrfs/072 and generic/127. I'm not sure, but the patch "btrfs: drop logs when we've aborted a transaction" is fixing transaction handle leaks. I've added it to misc-next, the effects have been observed in test generic/475 so it's only a weak link, tests btrfs/074 do not stress the transaction cleanup that much.