linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sean Greenslade <sean@seangreenslade.com>
To: Qu Wenruo <quwenruo@cn.fujitsu.com>
Cc: Chris Murphy <lists@colorremedies.com>,
	David Sterba <dsterba@suse.cz>,
	Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: Post ext3 conversion problems
Date: Sun, 25 Sep 2016 22:16:09 -0400	[thread overview]
Message-ID: <20160926021609.GA11493@coach.home> (raw)
In-Reply-To: <20160920205121.GA23668@coach.home>

On Tue, Sep 20, 2016 at 04:51:21PM -0400, Sean Greenslade wrote:
> On Tue, Sep 20, 2016 at 01:02:38PM +0800, Qu Wenruo wrote:
> > > Glad to hear you've found the core of the issue.
> > > 
> > > At this point, I can trigger it immediately. As soon as I log in and run
> > > dmenu, it will attempt to rebuild its cache file (small text file that's
> > > just a list of all executables in the PATH). Once that write happens,
> > > the bug triggers and the fs goes read only.
> > 
> > Rewrite? Or write into new inode?
> > 
> > And is the same inode always causing the problem?
> 
> It's not always the same. It seems like whatever triggers a write first
> is what kills it. I went to test it, and this time it triggered on my
> .bash_history file. I have bash set up with "history -a", so presumably
> that was an append, not an overwrite.
> 
> To cut down on the number of variables, I booted my system with the
> "rescue" systemd target, then su'd to my user. Simply running a few
> commands (with the history -a writes that bash triggered) was enough to
> trigger the bug. This is on 4.8.0-rc6, with the following compile time
> options enabled:
> 
> CONFIG_BTRFS_FS_RUN_SANITY_TESTS=y
> CONFIG_BTRFS_DEBUG=y
> CONFIG_BTRFS_ASSERT=y
> 
> If I run the stock Arch kernel (4.7.2 at the moment), the issue still
> appears, but it takes longer. My most reliable trigger is Firefox, whose
> constant DB writes will trigger it within minutes.

Is there anything I can do to help this along? I can build experimental
patches, set up long running scripts, run tests, whatever is necessary.

Thanks,

--Sean

  reply	other threads:[~2016-09-26  2:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-16 19:25 Post ext3 conversion problems Sean Greenslade
2016-09-16 20:23 ` Chris Murphy
2016-09-16 23:25   ` Sean Greenslade
2016-09-16 23:45     ` Chris Murphy
2016-09-17  0:03       ` Sean Greenslade
2016-09-19  2:20   ` Qu Wenruo
2016-09-19  4:12     ` Sean Greenslade
2016-09-19  6:30       ` Qu Wenruo
2016-09-19 15:13         ` Sean Greenslade
2016-09-20  2:49           ` Qu Wenruo
2016-09-20  3:39             ` Sean Greenslade
2016-09-20  5:02               ` Qu Wenruo
2016-09-20 20:51                 ` Sean Greenslade
2016-09-26  2:16                   ` Sean Greenslade [this message]
2016-09-26  2:37                     ` Qu Wenruo
2016-09-17  2:27 ` Liu Bo
2016-09-17  4:16   ` Sean Greenslade

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=20160926021609.GA11493@coach.home \
    --to=sean@seangreenslade.com \
    --cc=dsterba@suse.cz \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=lists@colorremedies.com \
    --cc=quwenruo@cn.fujitsu.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).