From: Mitch Harder <mitch.harder@sabayonlinux.org>
To: Chris Mason <chris.mason@oracle.com>
Cc: "Maria Wikström" <maria@ponstudios.se>,
"Zhong, Xin" <xin.zhong@intel.com>,
"Johannes Hirte" <johannes.hirte@fem.tu-ilmenau.de>,
"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:32:10 -0600 [thread overview]
Message-ID: <AANLkTi=qUV6TQJbJQ-JAeQ3PFRZpCwAYn4SnbrS89XM9@mail.gmail.com> (raw)
In-Reply-To: <1298564340-sup-3124@think>
On Thu, Feb 24, 2011 at 10:19 AM, Chris Mason <chris.mason@oracle.com> =
wrote:
> Excerpts from Mitch Harder's message of 2011-02-24 11:03:07 -0500:
>> On Thu, Feb 24, 2011 at 10:00 AM, Chris Mason <chris.mason@oracle.co=
m> wrote:
>> > Excerpts from Mitch Harder's message of 2011-02-24 10:55:15 -0500:
>> >> 2011/2/24 Maria Wikstr=F6m <maria@ponstudios.se>:
>> >> > m=E5n 2011-02-21 klockan 09:51 +0800 skrev Zhong, Xin:
>> >> >> The backtrace in your attachment looks like a known bug of 2.6=
=2E37 which have already been fixed in 2.6.38. I have no idea why lates=
t btrfs still hang in your environment if there's no debug info...
>> >> >>
>> >> >
>> >> > Haha, yes that's very hard :)
>> >> >
>> >> > 2.6.38-rc6 and btrfs-unstable behaves the same way. I can close=
the
>> >> > process with ctrl+c and it disappear a few seconds later. There=
is no
>> >> > CPU usage. Reading works because I can start htop and watch "sv=
n info"
>> >> > disappear, but everything writing to btrfs slows down to a craw=
l. It
>> >> > takes about 1 minute to log in. So I had to put the logs on an =
other
>> >> > partition using ext3 to get the output from sysrq+t.
>> >> >
>> >>
>> >> I believe I've been experiencing this issue also. =A0However, my =
problem
>> >> usually results in a "No space left on device" error rather than =
a
>> >> lock-up or crash. =A0But I've bisected my issue to this patch, an=
d my
>> >> "btrfs fi show" and "btrfs fi df" looks similar to others who've
>> >> posted to this tread with all my space being allocated, but not u=
sed.
>> >>
>> >
>> > Sorry, which patch did you bisect the problem down to?
>> >
>>
>> The patch at the head of this thread:
>>
>> Btrfs: pwrite blocked when writing from the mmaped buffer of the sam=
e page
>
> Hmmm, that patch shouldn't be changing our performance under delalloc
> pressure, and it really shouldn't impact early enospc.
>
I've bisected this issue around where this patch went into git, and
I've also constructed a testing patch that reverts this patch, and
placed it on top of the current Btrfs git sources (I understand this
patch addresses a real issue, this was just for testing).
It could be that this patch just "uncovers" another problem, but all
my tests seem to point to this patch triggering this issue.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-02-24 16:32 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 [this message]
[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
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='AANLkTi=qUV6TQJbJQ-JAeQ3PFRZpCwAYn4SnbrS89XM9@mail.gmail.com' \
--to=mitch.harder@sabayonlinux.org \
--cc=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).