From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp1040.oracle.com ([156.151.31.81]:24120 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752171AbaG2KSc (ORCPT ); Tue, 29 Jul 2014 06:18:32 -0400 Date: Tue, 29 Jul 2014 18:18:17 +0800 From: Liu Bo To: =?iso-8859-1?Q?Torbj=F8rn?= Cc: linux-btrfs Subject: Re: BTRFS hang with 3.16-rc5 (and also with 3.16-rc4) Message-ID: <20140729095139.GA3947@localhost.localdomain> Reply-To: bo.li.liu@oracle.com References: <1984661.CMGGdWA6Ux@merkaba> <1809953.ithLVmijbn@merkaba> <53D11F2B.1070008@fb.com> <53D1E260.6080708@skagestad.org> <20140725092800.GC25859@localhost.localdomain> <53D22FD4.2070806@skagestad.org> <53D23AF1.9010704@skagestad.org> <53D24166.7030208@skagestad.org> <20140728100059.GB29285@localhost.localdomain> <53D62FD7.6010205@skagestad.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: <53D62FD7.6010205@skagestad.org> Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Mon, Jul 28, 2014 at 01:11:19PM +0200, Torbjørn wrote: > On 28. juli 2014 12:00, Liu Bo wrote: > > >This seems to be incomplete(Looks like dmesg has reached its buffer size limit), > >does /var/log/message have the whole stack info? > > > >thanks, > >-liubo > Hi, > > Complete log was over 40MB. I uploaded everything from boot until > "blocked for 120 seconds" started to appear. > If you want all the trailing log as well, let me know. > > https://gist.github.com/anonymous/7958d8917967f727f324 Sorry...still don't get why it's locked up, io_ctl_prepare_pages() has several callers, and they are properly released from the code level. And the warnings printed in the log belong to other btrfs partitions, not the hanged btrfs one, and we're still not able to know which one holds the free space cache inode page. Maybe we'd better resort to a bisect between 3.14 and 3.15(I know it'd be a lot of time though). Here, doing rsync on compress=lzo full btrfs never hit that problem, shrug... thanks, -liubo > > -- > Torbjørn