Re: btrfs: kernel BUG at mm/page-writeback.c:2286!

From: Govindarajulu Varadarajan
Date: Thu May 21 2015 - 04:34:02 EST


On Tue, 19 May 2015, Piotr Szymaniak wrote:

On Tue, May 19, 2015 at 09:43:10AM -0400, Chris Mason wrote:
On 05/19/2015 03:55 AM, Govindarajulu Varadarajan wrote:
2286--->BUG_ON(!PageLocked(page));

[ 166.769868] BTRFS info (device sdf): no csum found for inode 1154
start 43192320
[ 166.774334] BTRFS info (device sdf): csum failed ino 1154 extent
4434247680 csum 1388825687 wanted 0 mirror 0


Josef and I both missed this the first time you pasted it, but the
unlocked page is almost certainly related to this csum error. While
we're looking at things can you please scrub?

Hi,

In the original report there was:

[root@stg ~]#btrfs scru status /mnt/stg
scrub status for dd10b751-d2aa-40d1-971f-e15b0062dd11
scrub started at Tue May 19 03:33:26 2015 and finished after 468 seconds
total bytes scrubbed: 101.80GiB with 0 errors

Correct me if I'm wrong, but I think that Govindarajulu Varadarajan made the
scrub _after_ the crash.


I ran the scrub before and after the crash. Scrub shows 0 error but then I
access the file which is corrupt, I get I/O error and csum failure
in kernel log.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/