From: Sergei Trofimovich <slyich@gmail.com>
To: liubo <liubo2009@cn.fujitsu.com>
Cc: linux-btrfs@vger.kernel.org, Josef Bacik <josef@redhat.com>,
Arne Jansen <sensille@gmx.net>
Subject: Re: [PATCH] Btrfs: fix easily get into ENOSPC in mixed case
Date: Mon, 11 Apr 2011 23:27:01 +0300 [thread overview]
Message-ID: <20110411232701.102494bd@sf> (raw)
In-Reply-To: <4DA29FC1.9050900@cn.fujitsu.com>
[-- Attachment #1: Type: text/plain, Size: 1612 bytes --]
On Mon, 11 Apr 2011 14:29:21 +0800
liubo <liubo2009@cn.fujitsu.com> wrote:
> On 04/09/2011 05:55 AM, Sergei Trofimovich wrote:
> > [ 100.500011] Call Trace:
> > [ 100.500011] [<ffffffff810ed3a0>] vfs_unlink+0x80/0xf0
> > [ 100.500011] [<ffffffff810ef6f3>] do_unlinkat+0x173/0x1b0
> > [ 100.500011] [<ffffffff8111727b>] ? fsnotify_find_inode_mark+0x3b/0x50
> > [ 100.500011] [<ffffffff810dff91>] ? filp_close+0x61/0x90
> > [ 100.500011] [<ffffffff810f0c0d>] sys_unlinkat+0x1d/0x40
> > [ 100.500011] [<ffffffff81574c3b>] system_call_fastpath+0x16/0x1b
> > [ 100.500011] Code: 4c 8b 65 e0 48 8b 5d d8 4c 8b 6d e8 4c 8b 75 f0 4c 8b 7d f8 c9 c3 0f 1f 40 00 4c 89 fe 4c 89 ef e8 05 d0 ff ff 85 c0 74 bb 0f 0b <0f> 0b 89 c3 eb cd 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57
> > [ 100.500011] RIP [<ffffffffa024a011>] btrfs_unlink+0xd1/0xe0 [btrfs]
> > [ 100.500011] RSP <ffff880070b55e28>
> > [ 100.525672] ---[ end trace 7e63b9144b7307fe ]---
> >
> > Looks like I won't be able to test your patch until this thing will go away first.
>
> Thanks a lot for testing, though.
>
> I guess something messed up your btrfs metadata, cause when btrfs_unlink() wanted to remove A,
> it found that A was just missing...
Looks like it's ret = -28 (a ENOSPC). Yes, you are right. Moreover, as Arne found out,
I used wrong patch for btrfs-progs to create --mixed filesystems. I set wrong bit in
superblock (the 8ULL << 0, not 4ULL << 0) - the COMPRESS_LZO, so my metadata is
really screwed.
Please, disregard all my OOpses reported against --mixed FS. Sorry.
--
Sergei
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-04-11 20:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-02 9:19 2.6.39-rc1: kernel BUG at fs/btrfs/extent-tree.c:5479! Sergei Trofimovich
2011-04-02 9:37 ` liubo
2011-04-02 10:41 ` Sergei Trofimovich
2011-04-02 11:30 ` liubo
2011-04-02 12:55 ` Sergei Trofimovich
2011-04-08 8:44 ` [PATCH] Btrfs: fix easily get into ENOSPC in mixed case liubo
2011-04-08 21:09 ` Sergei Trofimovich
2011-04-08 21:19 ` Sergei Trofimovich
2011-04-08 21:55 ` Sergei Trofimovich
2011-04-11 6:29 ` liubo
2011-04-11 20:27 ` Sergei Trofimovich [this message]
2011-04-19 21:55 ` Sergei Trofimovich
2011-04-21 15:19 ` Sergei Trofimovich
2011-04-22 19:43 ` Sergei Trofimovich
2011-05-05 14:44 ` Sergei Trofimovich
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=20110411232701.102494bd@sf \
--to=slyich@gmail.com \
--cc=josef@redhat.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=liubo2009@cn.fujitsu.com \
--cc=sensille@gmx.net \
/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.