From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josef Bacik Subject: Re: bonnie triggers and endless numbers of stack traces Date: Fri, 19 Aug 2011 15:36:55 -0400 Message-ID: <4E4EBB57.3040209@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: linux-btrfs@vger.kernel.org To: Bernd Schubert Return-path: In-Reply-To: List-ID: 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