linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Maria Wikström" <maria@ponstudios.se>
To: Rui Miguel Silva <rmfrfs@gmail.com>
Cc: xin.zhong@intel.com, linux-btrfs@vger.kernel.org,
	johannes.hirte@fem.tu-ilmenau.de
Subject: Re: [PATCH v2]Btrfs: pwrite blocked when writing from the mmaped buffer of the same page
Date: Sat, 29 Jan 2011 16:38:56 +0100	[thread overview]
Message-ID: <1296315536.11437.66.camel@mainframe> (raw)
In-Reply-To: <201101281827.17306.rmfrfs@gmail.com>

fre 2011-01-28 klockan 18:27 +0000 skrev Rui Miguel Silva:=20
> On Friday, January 28, 2011 04:47:21 pm Maria Wikstr=C3=B6m wrote:
> > fre 2011-01-28 klockan 03:54 +0100 skrev Johannes Hirte:
> > > On Friday 28 January 2011 02:26:43 Zhong, Xin wrote:
> > > > Please try the fix in below link:
> > > > http://www.spinics.net/lists/linux-btrfs/msg08051.html
> > > >=20
> > > > Thanks!
> > >=20
> > > This doesn't fix it for me. At least there is a difference. Where=
as the
> > > svn process started consuming 100% CPU without any further intera=
ction
> > > before, the system just hang now. The svn process starts eating t=
he CPU
> > > when I cancel the emerge via ctrl-c. Additional I see a flush-btr=
fs task
> > > now consuming CPU time.
> > >=20
> > > regards,
> > >=20
> > >   Johannes
> > >=20
> > > --
> > > To unsubscribe from this list: send the line "unsubscribe linux-b=
trfs" in
> > > the body of a message to majordomo@vger.kernel.org
> > > More majordomo info at  http://vger.kernel.org/majordomo-info.htm=
l
> >=20
> > The patch makes the process exit cleanly but complains that there i=
s no
> > space left. It should be a few GB but it is only a few MB!? I delet=
e 5GB
> > and controls that the space is usable. Try again but this time it a=
lmost
> > hangs the system, I can blink the leds and move the mouse but notin=
g
> > more.
> > I boot 2.6.36.1 and use a snapshot as root, "emerge libgcrypt" comp=
iles
> > and installs fine. Boots back into 2.6.37 and try again and the sys=
tem
> > hangs again.
> >=20
> > // Maria
> >=20
>=20
> Hi Maria,
> I had something similar with vanilla 2.6.37 just for running:
> cscope -R -b -q
>=20
> allways hang complety the process, only solution reboot.
> I just applied the  btrfs patches that arrived in the main tree betwe=
en the=20
> 2.6.37 and 2.6.38-rc1 and they seem to fix the issue.
>=20
> I did not have the time to try to found which patch fixed the problem=
=2E
>=20
> Hope this could help you.
>=20
> Cheers,
>   //Rui

I have tried with both vanilla 2.6.38-rc2 and btrfs-unstable from git,
both having the problem.=20

Btrfs-unstable with the patch above behaves differently. The process ca=
n
be killed with Ctrl + C but then the terminal and gnome-pty-helper eats
cpu instead. They can be killed with SysRq + i together with everything
else.

// Maria


--
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

      reply	other threads:[~2011-01-29 15:38 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
2011-01-28 16:47         ` Maria Wikström
2011-01-28 18:27           ` Rui Miguel Silva
2011-01-29 15:38             ` Maria Wikström [this message]

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=1296315536.11437.66.camel@mainframe \
    --to=maria@ponstudios.se \
    --cc=johannes.hirte@fem.tu-ilmenau.de \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=rmfrfs@gmail.com \
    --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).