Skip to contentSkip to conversation

Kernel bug in 3.19-rc4

DISCUSSION Tomasz Chmielewski 2 participants 2 messages Jan 16, 2015 Btrfs file system

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines

I just started some btrfs stress testing on latest linux kernel 3.19-rc4:
A few hours later, filesystem stopped working - the kernel bug report can be found below.

Hi,

your "kernel BUG at fs/btrfs/inode.c:3142!" from 3.19-rc4 corresponds to http://marc.info/?l=linux-btrfs&m=141903172106342&w=2 - it was "kernel BUG at /home/apw/COD/linux/fs/btrfs/inode.c:3123!" in 3.18.1, and is exactly the same code in both cases:

        /* grab metadata reservation from transaction handle */
        if (reserve) {
                ret = btrfs_orphan_reserve_metadata(trans, inode);
                BUG_ON(ret); /* -ENOSPC in reservation; Logic error? JDM 
*/
        }
Signature · 2 lines
Tomasz Chmielewski
http://www.sslrack.com
#1 lore raw

Hi,

Quoted 6 lines · Tomasz Chmielewski
Quoted 3 lines

I just started some btrfs stress testing on latest linux kernel 3.19-rc4:
A few hours later, filesystem stopped working - the kernel bug report can be found below.

Hi,

Quoted 8 lines

your "kernel BUG at fs/btrfs/inode.c:3142!" from 3.19-rc4 corresponds to http://marc.info/?l=linux-btrfs&m=141903172106342&w=2 - it was "kernel BUG at /home/apw/COD/linux/fs/btrfs/inode.c:3123!" in 3.18.1, and is exactly the same code in both cases:

         /* grab metadata reservation from transaction handle */
         if (reserve) {
                 ret = btrfs_orphan_reserve_metadata(trans, inode);
                 BUG_ON(ret); /* -ENOSPC in reservation; Logic error? JDM */
         }

Year, it's the same.

BTW, I've tried to reproduce this problem by using the way you told me. However, it hasn't reproduced yet.

Thanks,
Satoru