From patchwork Mon Feb 25 19:46:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josef Bacik X-Patchwork-Id: 2181931 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id E14813FD4E for ; Mon, 25 Feb 2013 19:46:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759163Ab3BYTq2 (ORCPT ); Mon, 25 Feb 2013 14:46:28 -0500 Received: from dkim1.fusionio.com ([66.114.96.53]:59476 "EHLO dkim1.fusionio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756577Ab3BYTq1 (ORCPT ); Mon, 25 Feb 2013 14:46:27 -0500 Received: from mx2.fusionio.com (unknown [10.101.1.160]) by dkim1.fusionio.com (Postfix) with ESMTP id EAA087C0401 for ; Mon, 25 Feb 2013 12:46:26 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fusionio.com; s=default; t=1361821587; bh=qI9SKj1DCifwT79R7daZ750Jsjpxkd6wk9d30tZ+IXc=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=XH1FeLH3ZC3ZEZwiPbQPq8DM/Ygr5kgCkPvj2vT1JMVOl0GKEZnz/qIM9cfvWL2Vk t2I2JUebXtZjHLrRgMCMe24TaRjyZTlX9aKI695RFAG9uB0igxPZuOg6Zfe5b2FaW1 kcs5SOnOdjMRnP7/x/qyfj73H3Erilme0UCas1tQ= X-ASG-Debug-ID: 1361821586-0421b5454900a20001-6jHSXT Received: from mail1.int.fusionio.com (mail1.int.fusionio.com [10.101.1.21]) by mx2.fusionio.com with ESMTP id g4H5F2wXoIlcuwWw (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO); Mon, 25 Feb 2013 12:46:26 -0700 (MST) X-Barracuda-Envelope-From: JBacik@fusionio.com Received: from localhost (98.26.82.158) by mail.fusionio.com (10.101.1.19) with Microsoft SMTP Server (TLS) id 8.3.83.0; Mon, 25 Feb 2013 12:46:25 -0700 Date: Mon, 25 Feb 2013 14:46:24 -0500 From: Josef Bacik To: Mace Moneta CC: Josef Bacik , "linux-btrfs@vger.kernel.org" Subject: Re: WARNING: at fs/btrfs/extent_io.c:4718 map_private_extent_buffer+0xd4/0xe0 [btrfs]() Message-ID: <20130225194624.GC19641@localhost.localdomain> X-ASG-Orig-Subj: Re: WARNING: at fs/btrfs/extent_io.c:4718 map_private_extent_buffer+0xd4/0xe0 [btrfs]() References: <20130222174401.GF2062@localhost.localdomain> <20130222181017.GG2062@localhost.localdomain> <20130222194021.GH2062@localhost.localdomain> <20130225191236.GA19641@localhost.localdomain> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2011-07-01) X-Barracuda-Connect: mail1.int.fusionio.com[10.101.1.21] X-Barracuda-Start-Time: 1361821586 X-Barracuda-Encrypted: AES128-SHA X-Barracuda-URL: http://10.101.1.181:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at fusionio.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.123591 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Mon, Feb 25, 2013 at 12:21:30PM -0700, Mace Moneta wrote: > On Mon, Feb 25, 2013 at 2:12 PM, Josef Bacik wrote: > > > > > Is there any chance you got the line above [ cut here ]? (I hate that stupid [ > > cut here ], it makes us miss all the usefull info.) Thanks, > > > > Josef > > There was really nothing significant above the 'cut here'. Here it is > with over an hour of earlier context: > Sigh, I don't know why this warn_on(1, printk) isn't doing it's job. Here is a debug patch, please capture the output from this so I can figure out what is going on. Thanks, Josef --- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 66f999b..eed5554 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -4715,9 +4715,10 @@ int map_private_extent_buffer(struct extent_buffer *eb, unsigned long start, } if (start + min_len > eb->len) { - WARN(1, KERN_ERR "btrfs bad mapping eb start %llu len %lu, " + printk(KERN_ERR "btrfs bad mapping eb start %llu len %lu, " "wanted %lu %lu\n", (unsigned long long)eb->start, eb->len, start, min_len); + WARN_ON(1); return -EINVAL; }