From: "Fábio Pfeifer" <fmpfeifer@gmail.com>
To: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Cc: "linux-bcache@vger.kernel.org" <linux-bcache@vger.kernel.org>
Subject: Re: btrfs on bcache
Date: Tue, 24 Dec 2013 14:44:57 -0200 [thread overview]
Message-ID: <CABtk0xSn3V33CuWvW4END0nH0xpvFQ_pDj-o2+WcoAxdyEssuw@mail.gmail.com> (raw)
In-Reply-To: <1387554401.9407.0.camel@ret.masoncoding.com>
(resend int text only)
Some more information about this issue.
I installed my system last november (arch x86_64), with kernel 3.11.
That time I didn't see any csum error or
"incomplete page read" error. Some time later these errors started to
show up. I don't know exactly if it was in
3.11 -> 3.12 upgrade or somewhere in the 3.12 cycle. I've been using
bcache in writeback mode from the beginning.
I made some more testing:
- tryed bcache in writethrough, writearound and none modes;
- tryed linux kernel 3.13-rc5
The errors didn't go away (maybe because my filesystem is already
corrupted). I didn't have time to test with kernel 3.11 again.
But lately the errors increased, and it started to make my system
unstable, and then unusable.
I had to reformat everything and recover my backups.
I don't have my / and /home in btrfs over bcache anymore, but I can
make some tests in a spare HD and SSD i have here. I'll report back
after Christmas.
thanks,
Fabio
2013/12/20 Chris Mason <clm@fb.com>:
> On Fri, 2013-12-20 at 10:42 -0200, Fábio Pfeifer wrote:
>> Hello,
>>
>> I put the "WARN_ON(1);" after the printk lines (incomplete page read
>> and incomplete page write) in extent_io.c.
>>
>> here some call traces:
>>
>> [ 19.509497] incomplete page read in btrfs with offset 2560 and length 1536
>> [ 19.509500] ------------[ cut here ]------------
>> [ 19.509528] WARNING: CPU: 2 PID: 220 at fs/btrfs/extent_io.c:2441
>> end_bio_extent_readpage+0x788/0xc20 [btrfs]()
>> [ 19.509530] Modules linked in: cdc_acm fuse iTCO_wdt
>> iTCO_vendor_support snd_hda_codec_analog coretemp kvm_intel kvm raid1
>> ext4 crc16 md_mod mbcache jbd2 microcode nvidia(PO) psmouse pcspkr
>> evdev serio_raw i2c_i801 lpc_ich i2c_core snd_hda_intel sky2 skge
>> i82975x_edac button asus_atk0110 snd_hda_codec snd_hwdep shpchp
>> snd_pcm snd_page_alloc snd_timer acpi_cpufreq snd edac_core soundcore
>> processor vboxdrv(O) sr_mod cdrom ata_generic pata_acpi hid_generic
>> usbhid hid usb_storage sd_mod pata_marvell firewire_ohci uhci_hcd ahci
>> ehci_pci firewire_core ata_piix libahci crc_itu_t ehci_hcd libata
>> scsi_mod usbcore usb_common btrfs crc32c libcrc32c xor raid6_pq bcache
>> [ 19.509578] CPU: 2 PID: 220 Comm: btrfs-endio-met Tainted: P
>> W O 3.12.5-1-ARCH #1
>> [ 19.509580] Hardware name: System manufacturer System Product
>> Name/P5WDG2 WS Pro, BIOS 0905 03/06/2008
>> [ 19.509581] 0000000000000009 ffff880231a63cb0 ffffffff814ee37b
>> 0000000000000000
>> [ 19.509585] ffff880231a63ce8 ffffffff81062bcd ffffea00085eaec0
>> 0000000000000000
>> [ 19.509587] ffff8802320cc9c0 0000000000000000 ffff880233b0e000
>> ffff880231a63cf8
>> [ 19.509590] Call Trace:
>> [ 19.509596] [<ffffffff814ee37b>] dump_stack+0x54/0x8d
>> [ 19.509601] [<ffffffff81062bcd>] warn_slowpath_common+0x7d/0xa0
>> [ 19.509603] [<ffffffff81062caa>] warn_slowpath_null+0x1a/0x20
>> [ 19.509614] [<ffffffffa00b7ba8>] end_bio_extent_readpage+0x788/0xc20 [btrfs]
>
> This should mean that bcache is either failing to read some blocks
> properly or is fiddling with the bv_len/bv_offset fields.
>
> Could someone from bcache comment?
>
> -chris
>
next prev parent reply other threads:[~2013-12-24 16:45 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-18 17:17 btrfs on bcache eb
2013-12-19 19:04 ` Fábio Pfeifer
2013-12-19 19:05 ` Fábio Pfeifer
2013-12-20 22:26 ` Henry de Valence
2013-12-19 19:59 ` Chris Mason
2013-12-20 12:36 ` eb
2013-12-20 12:42 ` Fábio Pfeifer
2013-12-20 15:46 ` Chris Mason
2013-12-24 16:44 ` Fábio Pfeifer [this message]
2014-01-06 23:37 ` Kent Overstreet
2014-01-08 19:35 ` Chris Mason
2014-01-08 21:13 ` Kent Overstreet
-- strict thread matches above, loose matches on Subject: below --
2014-04-30 18:16 Felix Homann
2014-05-01 11:33 ` Austin S Hemmelgarn
2014-07-30 22:04 dptrash
2014-07-30 23:01 ` Larkin Lowrey
2014-08-04 12:57 ` Fábio Pfeifer
[not found] <1731942750.1162128.1406757898913.JavaMail.ngmail@webmail06.arcor-online.net>
2014-07-31 15:35 ` dptrash
2014-08-01 1:55 ` Duncan
2014-08-20 20:17 raphead
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=CABtk0xSn3V33CuWvW4END0nH0xpvFQ_pDj-o2+WcoAxdyEssuw@mail.gmail.com \
--to=fmpfeifer@gmail.com \
--cc=linux-bcache@vger.kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).