linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
To: Nikolay Borisov <nborisov@suse.com>
Cc: <enadolski@suse.com>,
	Zygo Blaxell <ce3g8jdj@umail.furryterror.org>,
	<linux-btrfs@vger.kernel.org>
Subject: Re: [PATCH] btrfs: remove spurious WARN_ON(ref->count) in find_parent_nodes
Date: Mon, 22 Jan 2018 21:06:23 +0800	[thread overview]
Message-ID: <20180122130622.GB532@fnst.localdomain> (raw)
In-Reply-To: <377c6852-6617-b4e0-5e69-60a9566bd894@suse.com>

On Mon, Jan 22, 2018 at 02:38:42PM +0200, Nikolay Borisov wrote:
>
>
>On 22.01.2018 14:19, Lu Fengqi wrote:
>> On 01/22/2018 04:46 PM, Nikolay Borisov wrote:
>>>
>>>
>>> On 22.01.2018 05:34, Lu Fengqi wrote:
>>>> According to my bisect result, The frequency of the warning occurrence
>>>> increased to the detectable degree after this patch
>>>
>>> That sentence implies that even before Ed's patch it was possible to
>>> trigger those warnings, is that true? Personally I've never seen such
>>> warnings while executing btrfs/004. How do you configure the filesystem
>>> for the test runs?
>>>
>> 
>> Just only default mount option.
>> 
>> ➜  xfstests-dev git:(master) for i in $(seq 1 100); do echo $i; if !
>> sudo ./check btrfs/004; then break; fi; done
>> 1
>> 
>> FSTYP         -- btrfs
>> 
>> PLATFORM      -- Linux/x86_64 sarch 4.15.0-rc9
>> 
>> MKFS_OPTIONS  -- /dev/vdd1
>> 
>> MOUNT_OPTIONS -- /dev/vdd1 /mnt/scratch
>> 
>> 
>> 
>> 
>> btrfs/004 47s ... 49s
>> 
>> Ran: btrfs/004
>> 
>> Passed all 1 tests
>> 
>> 
>> 
>> 
>> 2
>> 
>> FSTYP         -- btrfs
>> 
>> PLATFORM      -- Linux/x86_64 sarch 4.15.0-rc9
>> 
>> MKFS_OPTIONS  -- /dev/vdd1
>> 
>> MOUNT_OPTIONS -- /dev/vdd1 /mnt/scratch
>> 
>> 
>> 
>> 
>> btrfs/004 49s ... 52s
>> 
>> _check_dmesg: something found in dmesg (see
>> /home/luke/workspace/xfstests-dev/results//btrfs/004.dmesg)
>> 
>> Ran: btrfs/004
>> 
>> Failures: btrfs/004
>> 
>> Failed 1 of 1 tests
>> 
>> The probability of this warning appearing is rather low, and I only
>> encountered 52 warnings when I looped 1008 times btrfs/004 for 20 hours
>> in 4.15-rc6 (IOW, the probability is nearly 5%). So you want to trigger
>> warning also need more luck or patience.
>
>Thanks but is this before or after the mentioned commit below?
>

After this commit. The bisect condition I use to locate this commit is
to repeat btrfs/004 20 times without warning (This may not be accurate enough,
can only be used as a reference). Maybe Zygo has found a finer way to reproduce
it, so he reproduce this warning more frequently than me.

>
>> 
>>>> 86d5f9944252 ("btrfs: convert prelimary reference tracking to use
>>>> rbtrees")
>>>> is committed. I understand that this does not mean that this patch
>>>> caused
>>>> the problem, but maybe Edmund can give us some help, so I added him
>>>> to the
>>>> recipient.
>>>
>>>
>> 
>> 
>
>

-- 
Thanks,
Lu



  reply	other threads:[~2018-01-22 13:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-21 19:08 [PATCH] btrfs: remove spurious WARN_ON(ref->count) in find_parent_nodes Zygo Blaxell
2018-01-22  3:34 ` Lu Fengqi
2018-01-22  8:46   ` Nikolay Borisov
2018-01-22 12:19     ` Lu Fengqi
2018-01-22 12:38       ` Nikolay Borisov
2018-01-22 13:06         ` Lu Fengqi [this message]
2018-01-22 17:58           ` Zygo Blaxell
2018-01-22 16:27   ` Edmund Nadolski
2018-01-22 18:18   ` Zygo Blaxell
2018-01-22 12:58 ` Nikolay Borisov
2018-01-23  3:35   ` Edmund Nadolski
2018-01-23  7:12     ` Nikolay Borisov
2018-01-23  7:36     ` Lu Fengqi
2018-01-23 21:36       ` Edmund Nadolski
2018-01-24  1:31         ` Lu Fengqi
2018-01-24  3:22 ` [PATCH v2] btrfs: remove spurious WARN_ON(ref->count < 0) " Zygo Blaxell
2018-01-24  3:33   ` Lu Fengqi
2018-01-31 15:06     ` David Sterba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180122130622.GB532@fnst.localdomain \
    --to=lufq.fnst@cn.fujitsu.com \
    --cc=ce3g8jdj@umail.furryterror.org \
    --cc=enadolski@suse.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=nborisov@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).