public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: Linux Arch: kernel BUG at fs/btrfs/inode.c:873!
Date: Sun, 6 Oct 2013 10:10:44 +0000 (UTC)	[thread overview]
Message-ID: <pan$7e4a4$8b6e0db$cfbe49bd$cf267e4@cox.net> (raw)
In-Reply-To: CAOMFOmVvhqGHxoqx1rGF-6cokhPLrP21AfwJ29prNhX1FR_cfw@mail.gmail.com

Anatol Pomozov posted on Sat, 05 Oct 2013 22:14:25 -0700 as excerpted:

> Actually I remembered that I set "chattr +C" on /var/log/journal
> recursively (even for non-empty files) about a week ago, it might be
> related to the crash. When I mount "-orw" and try to remove
> /var/log/journal system hangs in btrfs-transacti thread.

Based on what I've seen in other threads and how nocow works, you really 
need to either set it (on the dir) before the files are created, or touch 
them so they're zero size and set it then.  You did say you set it on the 
dir, recursively, but existing files would then have been COW for awhile, 
and that might be related to your problem now, particularly with the just 
freshly patched systemd-journal-file-triggered-bug I mentioned.

Of course as you likely know but others googling this or otherwise 
reading it may not, btrfs is still labeled experimental, and while it 
does work pretty well for the general case, it's exactly the slightly or 
very oddball cases such as allocate-and-write-into technique that isn't 
quite so common, that can still be buggy.  In addition to a few loose-end 
features still being wrapped up, it's finding and fixing stuff like this 
that's the biggest thing still left before btrfs can be labeled stable 
and fully ready for normal and production use.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


  reply	other threads:[~2013-10-06 10:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-05  4:03 Linux Arch: kernel BUG at fs/btrfs/inode.c:873! Anatol Pomozov
2013-10-05  4:42 ` Duncan
2013-10-05 11:51   ` Anatol Pomozov
2013-10-05 14:44     ` Duncan
2013-10-06  5:14       ` Anatol Pomozov
2013-10-06 10:10         ` Duncan [this message]
2013-10-08  6:36 ` Anatol Pomozov
2013-10-08  7:12   ` Liu Bo
2013-10-12  2:22     ` Anatol Pomozov
2013-10-12 21:20       ` Chris Murphy
2013-10-15 19:56       ` Chris Murphy

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='pan$7e4a4$8b6e0db$cfbe49bd$cf267e4@cox.net' \
    --to=1i5t5.duncan@cox.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox