From: Sergei Trofimovich <slyich@gmail.com>
To: Sergei Trofimovich <slyich@gmail.com>
Cc: liubo <liubo2009@cn.fujitsu.com>,
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: Thu, 21 Apr 2011 18:19:42 +0300 [thread overview]
Message-ID: <20110421181942.509a7cd9@sf> (raw)
In-Reply-To: <20110420005531.6d395333@sf>
[-- Attachment #1: Type: text/plain, Size: 1582 bytes --]
On Wed, 20 Apr 2011 00:55:31 +0300
Sergei Trofimovich <slyich@gmail.com> wrote:
> > 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...
Yeah. Now I think I completely figured out what's going on:
My mixed partition was correct except it did'n have MIXED bit in superblock
(I mistakenly used LZO bit for that in btrfs-progs, as I took some old patch from maillist).
Thus I had D+M marked (aka mixed) block groups, but from superblock's features
there was no way to figure out there is yet such groups. That's why your second patch
(looking correct) didn't help me. I've fallen to mixed == 0 case.
> I think interesting the parts are (they were found by Arne before):
> [ 0.040000] new update_space_info:
> [ 0.040000] space_info has 0 free, is not full
> [ 0.040000] space_info total=0, used=0, pinned=0, reserved=0, may_use=0, readonly=0
> [ 0.040000] new update_space_info:
> [ 0.040000] space_info has 0 free, is not full
> [ 0.040000] space_info total=0, used=0, pinned=0, reserved=0, may_use=0, readonly=0
> [ 0.040000] new update_space_info:
> [ 0.040000] space_info has 0 free, is not full
> [ 0.040000] space_info total=0, used=0, pinned=0, reserved=0, may_use=0, readonly=0
Talking with Arne I was convinced my breakage is not worth fixing in kernel.
After I've added MIXED bit to superblocks' features OOpses gone.
So, once again, please disregard my OOpses.
--
Sergei
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-04-21 15:19 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
2011-04-19 21:55 ` Sergei Trofimovich
2011-04-21 15:19 ` Sergei Trofimovich [this message]
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=20110421181942.509a7cd9@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).