All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc MERLIN <marc@merlins.org>
To: Liu Bo <bo.li.liu@oracle.com>
Cc: Linux Btrfs <linux-btrfs@vger.kernel.org>, jbacik@fusionio.com
Subject: Re: WARNING: at fs/btrfs/inode.c:2165 btrfs_orphan_commit_root+0xcb/0xdf()
Date: Tue, 26 Feb 2013 07:52:53 -0800	[thread overview]
Message-ID: <20130226155253.GA22367@merlins.org> (raw)
In-Reply-To: <20130226070200.GA3949@liubo.jp.oracle.com>

On Tue, Feb 26, 2013 at 03:02:01PM +0800, Liu Bo wrote:
> On Sun, Feb 24, 2013 at 06:55:46PM -0800, Marc MERLIN wrote:
> > Is this useful to anyone?
> > 
> 
> Hi Marc,
> 
> Thanks for the report, of course they're useful.
 
Thanks. I wasn't sure since I haven't seen the real problem of crashes
during mount due to unexpected state in replay logs being improved over the
last 4 kernel versions, and I wasn't sure if they are being worked on.

> Could you please also show us your workloads and it'd be better to know how to
> reproduce this?

Sure thing.

Workload is a simple laptop, where something tyipcally dies during writes
and I get a full system hang because linux is unable to flush its disk
queues, so in the end I power cycle.
Details here:
http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg391505.html

As mentioned in my other mail, I do run on top of dmcrypt since I can't have
an unencrypted laptop, and ecryptfs is way too slow while not supporting
encryption of long filenames.

The next question is: are your write requests getting there in the order
they should. My crashes and your BUG() that get triggered indicate that
maybe not.

Currently, I have:
gandalfthegreat:~# cat /sys/block/sda/queue/scheduler 
noop [deadline] cfq 

That could be a problem I guess, so I'll change it to noop, just in case.

My boot is like this:
/vmlinuz-3.7.8-amd64-preempt-20130222 root=/dev/mapper/cryptroot ro rootflags=subvol=root cryptopts=source=/dev/sda4,keyscript=/sbin/cryptgetpw,discard

btrfs is mounted like so:
LABEL=btrfs_pool1 /   btrfs subvol=root,defaults,compress=lzo,discard,nossd,space_cache,noatime

Is there anything else I can give?
(I'll answer on the other thread with the fsimage)

Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  

  reply	other threads:[~2013-02-26 15:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-25  2:55 WARNING: at fs/btrfs/inode.c:2165 btrfs_orphan_commit_root+0xcb/0xdf() Marc MERLIN
2013-02-26  7:02 ` Liu Bo
2013-02-26 15:52   ` Marc MERLIN [this message]
2013-02-26 14:20 ` Josef Bacik
2013-02-27  0:37   ` Liu Bo

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=20130226155253.GA22367@merlins.org \
    --to=marc@merlins.org \
    --cc=bo.li.liu@oracle.com \
    --cc=jbacik@fusionio.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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.