From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.domeneshop.no ([194.63.252.54]:42756 "EHLO smtp.domeneshop.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756693AbaGVUKg (ORCPT ); Tue, 22 Jul 2014 16:10:36 -0400 Message-ID: <53CEC52A.4020708@skagestad.org> Date: Tue, 22 Jul 2014 22:10:18 +0200 From: =?ISO-8859-1?Q?Torbj=F8rn?= MIME-Version: 1.0 To: Chris Mason 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> <53CEC09B.4050309@fb.com> In-Reply-To: <53CEC09B.4050309@fb.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-btrfs-owner@vger.kernel.org List-ID: On 07/22/2014 09:50 PM, Chris Mason wrote: > 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 In case it was not clear, this hang was on a different btrfs volume than the 3.15 hang (but the same server). Earlier the affected volume was readable during the hang. This time the volume is not readable either. I'll keep the patched 3.16 running and see if I can trigger something similar to the 3.15 hang. Thanks -- Torbjørn