From: Chris Mason <chris.mason@oracle.com>
To: Johannes Hirte <johannes.hirte@fem.tu-ilmenau.de>
Cc: "Zhong, Xin" <xin.zhong@intel.com>,
"Maria Wikström" <maria@ponstudios.se>,
"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: [PATCH v2]Btrfs: pwrite blocked when writing from the mmaped buffer of the same page
Date: Thu, 24 Feb 2011 10:23:12 -0500 [thread overview]
Message-ID: <1298560914-sup-7112@think> (raw)
In-Reply-To: <201102240002.45682.johannes.hirte@fem.tu-ilmenau.de>
Excerpts from Johannes Hirte's message of 2011-02-23 18:02:44 -0500:
> On Wednesday 23 February 2011 22:56:27 Chris Mason wrote:
> > Excerpts from Zhong, Xin's message of 2011-02-23 02:27:05 -0500:
> > > In the dmesg of rc4, I can see svn hang in shrink_dellalloc and there's
> > > two flush-btrfs threads hang there too.
> > >
> > > Josef, it seems you are the expert in this area. Could you take a quick
> > > look? Thanks!
> >
> > Ok, it does look like the fluhs-btrfs threads are busy trying to flush
> > things.
> >
> > Could you please do a btrfs-show and a btrfs fi df /xxx (where xxx is
> > your mount point) and send the results here?
> >
> > -chris
>
> failed to read /dev/sr0
> Label: none uuid: 00eab15f-c4cf-4403-a529-9bc11fa50167
> Total devices 1 FS bytes used 47.72GB
> devid 1 size 65.69GB used 65.69GB path /dev/sda2
>
> Label: none uuid: c6f4e6e6-c4ba-4394-9e9c-bbc3d0b32793
> Total devices 1 FS bytes used 9.48GB
> devid 1 size 20.01GB used 20.01GB path /dev/sda1
>
> Btrfs v0.19-35-g1b444cd-dirty
>
> and btrfs fi df on
>
> /
>
> Data: total=15.49GB, used=8.35GB
> System, DUP: total=8.00MB, used=12.00KB
> System: total=4.00MB, used=0.00
> Metadata, DUP: total=2.25GB, used=1.13GB
>
> /home
>
> Data: total=63.42GB, used=47.47GB
> System: total=4.00MB, used=16.00KB
> Metadata: total=2.27GB, used=251.34MB
>
> The bug is reproducable on both filesystems.
Ok, you've got a good amount of metadata space free, but it is
frantically trying to make room for the delayed allocation. Let me see
if I can recreate this setup here.
-chris
next prev parent reply other threads:[~2011-02-24 15:23 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-09 9:30 [PATCH v2]Btrfs: pwrite blocked when writing from the mmaped buffer of the same page Zhong, Xin
2011-01-27 13:09 ` Johannes Hirte
2011-01-27 22:12 ` Maria Wikström
2011-01-28 1:26 ` Zhong, Xin
2011-01-28 2:54 ` Johannes Hirte
2011-01-28 3:53 ` Zhong, Xin
2011-02-01 23:34 ` Johannes Hirte
2011-02-11 4:39 ` Zhong, Xin
2011-02-18 11:31 ` Maria Wikström
2011-02-21 1:51 ` Zhong, Xin
2011-02-24 14:51 ` Maria Wikström
2011-02-24 15:55 ` Mitch Harder
2011-02-24 16:00 ` Chris Mason
2011-02-24 16:03 ` Mitch Harder
2011-02-24 16:19 ` Chris Mason
2011-02-24 16:32 ` Mitch Harder
[not found] ` <AANLkTinvyb-bTVVignd1KGojvh-QrYCFmCnwYKBsYC_2@mail.gmail.com>
2011-02-25 17:11 ` Mitch Harder
2011-02-25 18:43 ` Mitch Harder
2011-02-25 19:19 ` Chris Mason
2011-02-28 1:46 ` [PATCH] btrfs file write debugging patch Chris Mason
2011-02-28 8:56 ` Zhong, Xin
2011-02-28 14:02 ` Chris Mason
2011-02-28 10:13 ` Johannes Hirte
2011-02-28 14:00 ` Chris Mason
2011-02-28 16:10 ` Josef Bacik
2011-02-28 16:45 ` Maria Wikström
2011-02-28 17:47 ` Mitch Harder
2011-02-28 20:20 ` Mitch Harder
2011-03-01 5:09 ` Mitch Harder
2011-03-01 10:14 ` Zhong, Xin
2011-03-01 11:56 ` Zhong, Xin
2011-03-01 14:54 ` Mitch Harder
2011-03-01 14:51 ` Mitch Harder
2011-03-01 21:56 ` Piotr Szymaniak
2011-02-24 23:35 ` [PATCH v2]Btrfs: pwrite blocked when writing from the mmaped buffer of the same page Piotr Szymaniak
2011-02-22 22:27 ` Johannes Hirte
2011-02-23 7:27 ` Zhong, Xin
2011-02-23 21:56 ` Chris Mason
2011-02-23 23:02 ` Johannes Hirte
2011-02-24 15:23 ` Chris Mason [this message]
2011-01-28 16:47 ` Maria Wikström
2011-01-28 18:27 ` Rui Miguel Silva
2011-01-29 15:38 ` Maria Wikström
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=1298560914-sup-7112@think \
--to=chris.mason@oracle.com \
--cc=johannes.hirte@fem.tu-ilmenau.de \
--cc=linux-btrfs@vger.kernel.org \
--cc=maria@ponstudios.se \
--cc=xin.zhong@intel.com \
/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).