All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josef Bacik <josef@redhat.com>
To: Bernd Schubert <bernd.schubert@itwm.fraunhofer.de>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: bonnie triggers and endless numbers of stack traces
Date: Fri, 19 Aug 2011 15:36:55 -0400	[thread overview]
Message-ID: <4E4EBB57.3040209@redhat.com> (raw)
In-Reply-To: <j2m3ud$u8e$1@dough.gmane.org>

On 08/19/2011 12:45 PM, Bernd Schubert wrote:
> Just for performance tests I run:
> 
> ./bonnie++ -d /mnt/btrfs -s0 -n 1:256:256:1 -r 0
> 
> and this causes and endless number of stack traces. Those seem to 
> come from:
> 
> use_block_rsv()
> 
> 	ret = block_rsv_use_bytes(block_rsv, blocksize);
> 	if (!ret)
> 		return block_rsv;
> 	if (ret) {
> 		WARN_ON(1);
> 		ret = reserve_metadata_bytes(trans, root, block_rsv, blocksize,
> 
> 
> Why is there a WARN_ON(1)? Running the bonnie benchmark is basically impossible
> that.

This is being worked on, if you really don't like it pull my git tree
and test it out and see if the errors go away

git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-work.git

Thanks,

Josef

  parent reply	other threads:[~2011-08-19 19:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-19 16:45 bonnie triggers and endless numbers of stack traces Bernd Schubert
2011-08-19 17:28 ` Bernd Schubert
2011-08-19 19:36 ` Josef Bacik [this message]
2011-08-19 23:45   ` David Sterba
2011-08-22  8:17   ` Bernd Schubert
2011-08-29 18:42     ` [PATCH debug] btrfs: ratelimit WARN_ON in use_block_rsv 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=4E4EBB57.3040209@redhat.com \
    --to=josef@redhat.com \
    --cc=bernd.schubert@itwm.fraunhofer.de \
    --cc=linux-btrfs@vger.kernel.org \
    /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.