All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Florian D." <flockmock@gmail.com>
To: Chris Mason <chris.mason@oracle.com>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS
Date: Fri, 15 Jun 2007 22:46:04 +0200	[thread overview]
Message-ID: <4672FA8C.50309@gmail.com> (raw)
In-Reply-To: <20070615191153.GU2061@think.oraclecorp.com>

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

  reply	other threads:[~2007-06-15 20:46 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-12 16:10 [ANNOUNCE] Btrfs: a copy on write, snapshotting FS Chris Mason
2007-06-12 19:53 ` Mike Snitzer
2007-06-12 20:14   ` Chris Mason
2007-06-13  3:08     ` Christoph Hellwig
2007-06-13 10:17       ` Chris Mason
2007-06-13  3:46 ` John Stoffel
2007-06-13 10:35   ` Chris Mason
2007-06-13 14:00     ` John Stoffel
2007-06-13 14:54       ` Chris Mason
2007-06-13 16:12         ` John Stoffel
2007-06-13 16:34           ` Chris Mason
2007-06-13 16:25         ` Grzegorz Kulewski
2007-06-14 18:20   ` Chuck Lever
2007-06-14 18:48     ` Chris Mason
2007-06-15 17:17       ` Chuck Lever
2007-06-14 18:29 ` Florian D.
2007-06-14 19:13   ` Chris Mason
2007-06-15 19:08     ` Florian D.
2007-06-15 19:11       ` Chris Mason
2007-06-15 20:46         ` Florian D. [this message]
2007-06-15 20:51           ` Chris Mason
2007-06-15 22:03             ` Florian D.
2007-06-16  0:54               ` Chris Mason
2007-06-16  9:31                 ` Florian D.
2007-06-18 14:29                   ` Chris Mason
2007-06-18 14:41 ` Chris Mason
2007-06-18 14:41   ` Chris Mason
2007-06-18 17:37 ` Vladislav Bolkhovitin
2007-06-18 20:08   ` John Stoffel
2007-06-19  9:11   ` Pádraig Brady
2007-06-19 10:01     ` Vladislav Bolkhovitin
2007-06-19 18:20       ` david
2007-06-20  8:41         ` Vladislav Bolkhovitin
2007-06-19 12:04     ` Chris Mason
2007-06-19 12:04       ` Chris Mason
2007-06-19 14:00       ` Vladislav Bolkhovitin
2007-06-19 14:00         ` Vladislav Bolkhovitin
2007-06-19 18:24       ` david
2007-06-19 18:28       ` Philipp Matthias Hahn
2007-06-19 18:28         ` Philipp Matthias Hahn
2007-06-20  8:44         ` Vladislav Bolkhovitin
2007-06-20  9:18           ` Ph. Marek
  -- strict thread matches above, loose matches on Subject: below --
2007-06-13  5:45 Albert Cahalan
2007-06-13 12:00 ` Chris Mason
2007-06-13 16:14   ` Albert Cahalan
2007-06-13 16:57     ` Chris Mason
2007-06-14  6:59       ` Albert Cahalan
2007-06-14 12:30         ` Chris Mason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4672FA8C.50309@gmail.com \
    --to=flockmock@gmail.com \
    --cc=chris.mason@oracle.com \
    --cc=linux-fsdevel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.