All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josef Bacik <josef@toxicpanda.com>
To: syzbot <syzbot+dfb6eff2a68b42d557d3@syzkaller.appspotmail.com>
Cc: clm@fb.com, dsterba@suse.com, linux-btrfs@vger.kernel.org,
	linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [btrfs?] BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (6)
Date: Wed, 21 Aug 2024 16:13:38 -0400	[thread overview]
Message-ID: <20240821201338.GA2109582@perftesting> (raw)
In-Reply-To: <0000000000008f55e4062036c827@google.com>

On Wed, Aug 21, 2024 at 12:45:25PM -0700, syzbot wrote:
> Hello,
> 
> syzbot found the following issue on:
> 
> HEAD commit:    5c43d43bad35 Merge branches 'for-next/acpi', 'for-next/mis..
> git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
> console output: https://syzkaller.appspot.com/x/log.txt?x=13471a05980000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=c91f83ae59feaa1f
> dashboard link: https://syzkaller.appspot.com/bug?extid=dfb6eff2a68b42d557d3
> compiler:       Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
> userspace arch: arm64
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=10efded5980000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=12e94093980000
> 
> Downloadable assets:
> disk image: https://storage.googleapis.com/syzbot-assets/cc2dd4be620e/disk-5c43d43b.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/81d40d99ddbf/vmlinux-5c43d43b.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/bc6aed0f2bc5/Image-5c43d43b.gz.xz
> mounted in repro: https://storage.googleapis.com/syzbot-assets/d55321fffedc/mount_0.gz
> 
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+dfb6eff2a68b42d557d3@syzkaller.appspotmail.com
> 
> BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!

Can we disable syzbot issues for this specific error?  Btrfs uses lockdep
annotations for our tree locks, so we _easily_ cross this threshold on the
default configuration.  Our CI config requires the following settings to get
lockdep to work longer than two or three tests

CONFIG_LOCKDEP_BITS=20
CONFIG_LOCKDEP_CHAINS_BITS=20
CONFIG_LOCKDEP_STACK_TRACE_BITS=19
CONFIG_LOCKDEP_STACK_TRACE_HASH_BITS=14
CONFIG_LOCKDEP_CIRCULAR_QUEUE_BITS=12

but there's no way to require that in our config (nor do I think we should
really be able to tbqh).  It makes more sense for syzbot to just ignore this
particular error as it's not actually a bug.  Thanks,

Josef

  reply	other threads:[~2024-08-21 20:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-21 19:45 [syzbot] [btrfs?] BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (6) syzbot
2024-08-21 20:13 ` Josef Bacik [this message]
2024-08-22 12:05   ` Dmitry Vyukov
2024-08-24 19:38     ` David Sterba
2024-08-30 15:02       ` Dmitry Vyukov
2024-08-30 16:00         ` 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=20240821201338.GA2109582@perftesting \
    --to=josef@toxicpanda.com \
    --cc=clm@fb.com \
    --cc=dsterba@suse.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzbot+dfb6eff2a68b42d557d3@syzkaller.appspotmail.com \
    --cc=syzkaller-bugs@googlegroups.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.