public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <chris.mason@oracle.com>
To: Harald Glatt <mail@hachre.de>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Unable to mount btrfs after crash
Date: Mon, 13 Apr 2009 09:28:28 -0400	[thread overview]
Message-ID: <1239629308.24841.2.camel@think.oraclecorp.com> (raw)
In-Reply-To: <EE151463-E687-43D0-91E0-02003C32972F@hachre.de>

On Sun, 2009-04-12 at 02:03 +0200, Harald Glatt wrote:
> Hi,
> 
> I have set up a btrfs within a 200 GB file that I mount via -o loop.
> 
> It worked fine so far but today it crashed when there was alot of  
> concurrent writing/reading going on.
> I'm testing it with a torrent client, so the data is really irrelevant  
> - but it's a good amount of stress.
> 

Loopback is somewhat tricky because the kernel loopback driver only
writes into the page cache of the underlying file in the host
filesystem.  So, the filesystem inside the loopback file thinks it has
written things to disk but in reality it is just in cache.

If you crash in the middle of all of this, you're going to see
significant corruptions of the FS inside the loopback file.

-chris



  reply	other threads:[~2009-04-13 13:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-12  0:03 Unable to mount btrfs after crash Harald Glatt
2009-04-13 13:28 ` Chris Mason [this message]
2009-04-13 13:31   ` Christoph Hellwig

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=1239629308.24841.2.camel@think.oraclecorp.com \
    --to=chris.mason@oracle.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=mail@hachre.de \
    /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