xfs
[Top] [All Lists]

Re: kernel BUG at fs/xfs/xfs_message.c:113!

To: Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx
Subject: Re: kernel BUG at fs/xfs/xfs_message.c:113!
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Wed, 21 Sep 2016 06:14:53 +1000
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20160920163304.GA8999@xxxxxxxxxxxxxxx>
References: <20160920163304.GA8999@xxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Tue, Sep 20, 2016 at 10:33:04AM -0600, Ross Zwisler wrote:
> I'm consistently able to generate this kernel BUG with both v4.7 and v4.8-rc7.
> This bug reproduces both with and without DAX.
> Here is the BUG with v4.8-rc7, passed through kasan_symbolize.py:
> 
>   run fstests generic/026 at 2016-09-20 10:22:58
>   XFS (pmem0p2): Unmounting Filesystem
>   XFS: Assertion failed: tp->t_blk_res_used <= tp->t_blk_res, file: 
> fs/xfs/xfs_trans.c, line: 309

It overran the block allocation reservation for the transaction.

> I started hitting this issue when I started setting extsize via xfs_io on both
> my TEST and SCRATCH xfstest directories.  Here's a quick snapshot of my
> xfstests setup:
> 
>   # parted -s -a optimal /dev/pmem0 mkpart Primary 2MiB 12GiB
>   # parted -s -a optimal /dev/pmem0 mkpart Primary 12GiB 16382MiB
>   # mkfs.xfs -f /dev/pmem0p1
>   # mkfs.xfs -f /dev/pmem0p2
>   # mount /dev/pmem0p1 /mnt/xfstests_test
>   # mount /dev/pmem0p2 /mnt/xfstests_scratch
>   # xfs_io -c 'extsize 2m' /mnt/xfstests_test
>   # xfs_io -c 'extsize 2m' /mnt/xfstests_scratch

The test dir is the one that matters here - I can reproduce it
locally so I'll have a look.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>