From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dkim1.fusionio.com ([66.114.96.53]:56626 "EHLO dkim1.fusionio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752625Ab3JHCUH (ORCPT ); Mon, 7 Oct 2013 22:20:07 -0400 Received: from mx2.fusionio.com (unknown [10.101.1.160]) by dkim1.fusionio.com (Postfix) with ESMTP id 607EC7C068F for ; Mon, 7 Oct 2013 20:20:07 -0600 (MDT) Date: Mon, 7 Oct 2013 22:20:05 -0400 From: Josef Bacik To: Jan Killius CC: Subject: Re: kernel BUG at mm/page-writeback.c:2317! Message-ID: <20131008022005.GC16461@localhost.localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" In-Reply-To: Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Tue, Oct 08, 2013 at 12:36:11AM +0200, Jan Killius wrote: > Hello, > I'm hitting similar bug with the patch from Lui Bo. > But If I revert: 573aecafca1cf7a974231b759197a1aebcf39c2a, > Btrfs: actually limit the size of delalloc range) everything works fine. > > Here are the 2 backtraces from my machines with 3.12-rc4: > http://imgur.com/sVkjGK6,mWUtzMV#0 > http://imgur.com/sVkjGK6,mWUtzMV#1 > > Sorry for the screenshots but It was the only way to capture the backtraces. > I get the bug at the end of a 2GB scp transfer almost everytime. So I thought about it and I came up with this patch but as I was writing out the explanation I realized I was wrong in some of my assumptions. However I'd still like you to give it a whirl and see if it fixes the problem and I'll take a fresh look at it tomorrow http://paste.fedoraproject.org/44986/38119874/ Thanks, Josef