Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932228AbaAHUlA (ORCPT ); Wed, 8 Jan 2014 15:41:00 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:41959 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752653AbaAHUkz (ORCPT ); Wed, 8 Jan 2014 15:40:55 -0500 MIME-Version: 1.0 In-Reply-To: <1389212231.23310.33.camel@ret.masoncoding.com> References: <20140102053101.GA29352@localhost> <20140106221036.GE9037@kmo> <20140107055318.GA19016@localhost> <1389126617.23310.19.camel@ret.masoncoding.com> <1389210102.23310.31.camel@ret.masoncoding.com> <1389212231.23310.33.camel@ret.masoncoding.com> Date: Wed, 8 Jan 2014 12:40:54 -0800 Message-ID: Subject: Re: [block:for-3.14/core] kernel BUG at fs/bio.c:1748 From: Muthu Kumar To: Chris Mason Cc: "kmo@daterainc.com" , "linux-btrfs@vger.kernel.org" , "fengguang.wu@intel.com" , "linux-kernel@vger.kernel.org" , "lkp@linux.intel.com" , "axboe@kernel.dk" , "linux-fsdevel@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 8, 2014 at 12:16 PM, Chris Mason wrote: > On Wed, 2014-01-08 at 11:54 -0800, Muthu Kumar wrote: >> Chris, >> >> [ 8.336061] WARNING: CPU: 0 PID: 0 at fs/bio.c:1778 bio_endio+0xbe/0x100() >> [ 8.336062] bio_endio: bio for (unknown) without endio >> >> This is my recent change to avoid memory leak in bio_endio. But I >> think the problem is higher up, most likely bio_endio is called twice >> on the same bio (which was freed before). >> > > I think these are just two separate problems. Lets ignore the WARN_ON > for now. > Not really... the BUG that is triggered: kernel BUG at fs/bio.c:523! It is in bio_put() (added to bio_endio() as part of recent change) which gets an already freed bio. >> Are you running the unmodified for-3.14/core or do you have local patches? >> > > It's for-3.14/core with my btrfs branch. Basically rc7 instead of rc6 > but no changes to the block layer. I hadn't mounted btrfs yet. > > -chris > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/