Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Russell Coker <russell@coker.com.au>
To: linux-btrfs@vger.kernel.org
Subject: GPF on access to presumably corrupted file
Date: Fri, 31 Jan 2014 18:24:29 +1100	[thread overview]
Message-ID: <201401311824.29611.russell@coker.com.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 1207 bytes --]

The attached dmesg log shows the results of trying to cat a file on a BTRFS 
filesystem when running the latest Debian/Unstable kernel (upstream 3.12.8 
with some Debian patches that probably aren't relevant to BTRFS).

I've rebooted the Thinkpad in question and repeated the problem after a 
reboot.  So I am fairly sure that the problem isn't directly caused by memory 
corruption.  I presume that it's corruption on disk causing this repeatable 
problem and such corruption could be caused by a memory error (which is 
something I've had happen before on a different system).  But I don't think 
that such corruption should cause a GPF.

So while I think we should consider the possibility that the filesystem was 
corrupted due to a hardware fault (of which there are several possibilities 
when dealing with a laptop) the inability to recover seems like a bug in 
BTRFS.

When this happens every process that tries to access the file in question is 
reported as being stuck in D state.  Sometimes such processes respond to kill 
-9 (I thought that was impossible) and sometimes they remain until reboot.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

[-- Attachment #2: dmesg.gz --]
[-- Type: application/x-gzip, Size: 19879 bytes --]

             reply	other threads:[~2014-01-31  7:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-31  7:24 Russell Coker [this message]
2014-01-31 14:07 ` GPF on access to presumably corrupted file Josef Bacik
2014-01-31 14:11   ` Chris Mason
2014-01-31 17:43     ` David Sterba

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=201401311824.29611.russell@coker.com.au \
    --to=russell@coker.com.au \
    --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