On Tue, Apr 10, 2012 at 12:32:00AM +0300, Leho Kraav wrote: > It is also BUG time WITH the patch. Mount succeeds, but "btrfs fi balance > HOME" gives us: > > Apr 10 00:24:18 server sudo: pam_unix(sudo:session): session opened for user > > root by (uid=1000) > Apr 10 00:24:18 server kernel: [ 363.839105] ------------[ cut here > > ]------------ > Apr 10 00:24:18 server kernel: [ 363.839163] kernel BUG at > > fs/btrfs/volumes.c:2733!
that's 2732 if (!(bctl->flags & BTRFS_BALANCE_RESUME)) { 2733 BUG_ON(ret == -EEXIST); ^^^^ 2734 set_balance_control(bctl); 2735 } else { 2736 BUG_ON(ret != -EEXIST); 2737 spin_lock(&fs_info->balance_lock); 2738 update_balance_args(bctl); 2739 spin_unlock(&fs_info->balance_lock); 2740 } IIRC somebody reported similar problem recently. It basically means there's an inconsistent balance state. Adding Ilya to CC. david -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html