From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:23858 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757087AbaGVTvF (ORCPT ); Tue, 22 Jul 2014 15:51:05 -0400 Message-ID: <53CEC09B.4050309@fb.com> Date: Tue, 22 Jul 2014 15:50:51 -0400 From: Chris Mason MIME-Version: 1.0 To: =?ISO-8859-1?Q?Torbj=F8rn?= CC: linux-btrfs Subject: Re: Blocked tasks on 3.15.1 References: <52e3cfababa49919100759860b59aa7c@admin.virtall.com> <53C7CD0F.7070603@fb.com> <1745216.hDa4tC2HJJ@merkaba> <53CE7ACF.7070109@fb.com> <53CEBEAB.3010206@skagestad.org> In-Reply-To: <53CEBEAB.3010206@skagestad.org> Content-Type: text/plain; charset="ISO-8859-1" Sender: linux-btrfs-owner@vger.kernel.org List-ID: On 07/22/2014 03:42 PM, Torbjørn wrote: > On 07/22/2014 04:53 PM, Chris Mason wrote: >> >> On 07/19/2014 02:23 PM, Martin Steigerwald wrote: >> >>>> Running 3.15.6 with this patch applied on top: >>>> - still causes a hang with `rsync -hPaHAXx --del /mnt/home/nyx/ >>>> /home/nyx/` >>>> - no extra error messages printed (`dmesg | grep racing`) compared to >>>> without the patch >>> I got same results with 3.16-rc5 + this patch (see thread BTRFS hang >>> with >>> 3.16-rc5). 3.16-rc4 still is fine with me. No hang whatsoever so far. >>> >>>> To recap some details (so I can have it all in one place): >>>> - /home/ is btrfs with compress=lzo >>> BTRFS RAID 1 with lzo. >>> >>>> - I have _not_ created any nodatacow files. >>> Me neither. >>> >>>> - Full stack is: sata <-> dmcrypt <-> lvm <-> btrfs (I noticed others >>>> mentioning the use of dmcrypt) >>> Same, except no dmcrypt. >>> >> Thanks for the help in tracking this down everyone. We'll get there! >> Are you all running multi-disk systems (from a btrfs POV, more than one >> device?) I don't care how many physical drives this maps to, just does >> btrfs think there's more than one drive. >> >> -chris > 3.16-rc6 with your patch on top still causes hangs here. > No traces of "racing" in dmesg > Hang is on a btrfs raid 0 consisting of 3 drives. > Full stack is: sata <-> dmcrypt <-> btrfs raid0 > > Hang was caused by > 1. Several rsync -av --inplace --delete > 2. btrfs subvolume snapshot -r > > The rsync jobs are done one at a time > btrfs is stuck when trying to create the read only snapshot The trace is similar, but you're stuck trying to read the free space cache. This one I saw earlier this morning, but I haven't seen these parts from the 3.15 bug reports. Maybe they are related though, I'll dig into the 3.15 bug reports again. -chris