Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris Mason wrote:
>> # umount /mnt/temp/
>>
>> [  457.980372] ------------[ cut here ]------------
>> [  457.980377] kernel BUG at fs/buffer.c:2644!
> 
> Whoops.  Please try this:
> 
> diff -r 38b36aaaa731 disk-io.c
> --- a/disk-io.c	Fri Jun 15 13:50:20 2007 -0400
> +++ b/disk-io.c	Fri Jun 15 15:12:26 2007 -0400
> @@ -541,6 +541,7 @@ int write_ctree_super(struct btrfs_trans
>  	else
>  		ret = submit_bh(WRITE, bh);
>  	if (ret == -EOPNOTSUPP) {
> +		lock_buffer(bh);
>  		set_buffer_uptodate(bh);
>  		root->fs_info->do_barriers = 0;
>  		ret = submit_bh(WRITE, bh);
> 
sorry, with the patch applied:

[  147.475077] BUG: at
/home/florian/system/btrfs_test/btrfs-0.2/disk-io.c:534
write_ctree_super()
[  147.475082]
[  147.475083] Call Trace:
[  147.475096]  [<ffffffff880957f7>] :btrfs:write_ctree_super+0x70/0x140
[  147.475106]  [<ffffffff88096ec5>]
:btrfs:btrfs_commit_transaction+0x43e/0x5c0
[  147.475112]  [<ffffffff8022a2a6>] __writeback_single_inode+0x34f/0x361
[  147.475121]  [<ffffffff88096fec>]
:btrfs:btrfs_commit_transaction+0x565/0x5c0
[  147.475126]  [<ffffffff8027b4eb>] autoremove_wake_function+0x0/0x2e
[  147.475136]  [<ffffffff88095915>] :btrfs:close_ctree+0x4e/0x191
[  147.475141]  [<ffffffff8022e22e>] dispose_list+0xad/0xc9
[  147.475146]  [<ffffffff8029fd1a>] invalidate_inodes+0xc3/0xd5
[  147.475155]  [<ffffffff8808d170>] :btrfs:btrfs_put_super+0x10/0x31
[  147.475159]  [<ffffffff80299849>] generic_shutdown_super+0x5b/0xd2
[  147.475163]  [<ffffffff802998e6>] kill_block_super+0x26/0x3b
[  147.475167]  [<ffffffff80299971>] deactivate_super+0x3d/0x55
[  147.475172]  [<ffffffff802a0e4b>] sys_umount+0x1ca/0x1f1
[  147.475177]  [<ffffffff8021fd18>] sys_newstat+0x19/0x31
[  147.475184]  [<ffffffff80250d5e>] system_call+0x7e/0x83
[  147.475188]
[  147.476020] BUG: at
/home/florian/system/btrfs_test/btrfs-0.2/disk-io.c:534
write_ctree_super()
[  147.476023]
[  147.476024] Call Trace:
[  147.476033]  [<ffffffff880957f7>] :btrfs:write_ctree_super+0x70/0x140
[  147.476042]  [<ffffffff88096ec5>]
:btrfs:btrfs_commit_transaction+0x43e/0x5c0
[  147.476048]  [<ffffffff8022a2a6>] __writeback_single_inode+0x34f/0x361
[  147.476057]  [<ffffffff88096fec>]
:btrfs:btrfs_commit_transaction+0x565/0x5c0
[  147.476061]  [<ffffffff8027b4eb>] autoremove_wake_function+0x0/0x2e
[  147.476066]  [<ffffffff802554d9>] mutex_lock+0xd/0x1d
[  147.476075]  [<ffffffff8809592d>] :btrfs:close_ctree+0x66/0x191
[  147.476080]  [<ffffffff8022e22e>] dispose_list+0xad/0xc9
[  147.476085]  [<ffffffff8029fd1a>] invalidate_inodes+0xc3/0xd5
[  147.476096]  [<ffffffff8808d170>] :btrfs:btrfs_put_super+0x10/0x31
[  147.476100]  [<ffffffff80299849>] generic_shutdown_super+0x5b/0xd2
[  147.476104]  [<ffffffff802998e6>] kill_block_super+0x26/0x3b
[  147.476108]  [<ffffffff80299971>] deactivate_super+0x3d/0x55
[  147.476112]  [<ffffffff802a0e4b>] sys_umount+0x1ca/0x1f1
[  147.476118]  [<ffffffff8021fd18>] sys_newstat+0x19/0x31
[  147.476124]  [<ffffffff80250d5e>] system_call+0x7e/0x83
[  147.476128]
[  147.482579] BUG: at
/home/florian/system/btrfs_test/btrfs-0.2/disk-io.c:534
write_ctree_super()
[  147.482582]
[  147.482583] Call Trace:
[  147.482592]  [<ffffffff880957f7>] :btrfs:write_ctree_super+0x70/0x140
[  147.482601]  [<ffffffff88095949>] :btrfs:close_ctree+0x82/0x191
[  147.482605]  [<ffffffff8022e22e>] dispose_list+0xad/0xc9
[  147.482611]  [<ffffffff8029fd1a>] invalidate_inodes+0xc3/0xd5
[  147.482619]  [<ffffffff8808d170>] :btrfs:btrfs_put_super+0x10/0x31
[  147.482623]  [<ffffffff80299849>] generic_shutdown_super+0x5b/0xd2
[  147.482627]  [<ffffffff802998e6>] kill_block_super+0x26/0x3b
[  147.482631]  [<ffffffff80299971>] deactivate_super+0x3d/0x55
[  147.482636]  [<ffffffff802a0e4b>] sys_umount+0x1ca/0x1f1
[  147.482641]  [<ffffffff8021fd18>] sys_newstat+0x19/0x31
[  147.482648]  [<ffffffff80250d5e>] system_call+0x7e/0x83
[  147.482652]
[  147.483066] VFS: brelse: Trying to free free buffer
[  147.483069] BUG: at fs/buffer.c:1164 __brelse()
[  147.483071]
[  147.483072] Call Trace:
[  147.483081]  [<ffffffff88095982>] :btrfs:close_ctree+0xbb/0x191
[  147.483086]  [<ffffffff8022e22e>] dispose_list+0xad/0xc9
[  147.483091]  [<ffffffff8029fd1a>] invalidate_inodes+0xc3/0xd5
[  147.483099]  [<ffffffff8808d170>] :btrfs:btrfs_put_super+0x10/0x31
[  147.483103]  [<ffffffff80299849>] generic_shutdown_super+0x5b/0xd2
[  147.483107]  [<ffffffff802998e6>] kill_block_super+0x26/0x3b
[  147.483111]  [<ffffffff80299971>] deactivate_super+0x3d/0x55
[  147.483116]  [<ffffffff802a0e4b>] sys_umount+0x1ca/0x1f1
[  147.483121]  [<ffffffff8021fd18>] sys_newstat+0x19/0x31
[  147.483127]  [<ffffffff80250d5e>] system_call+0x7e/0x83
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux