Bug 68771 - btrfs-zero-log core dumps
Summary: btrfs-zero-log core dumps
Status: NEW
Alias: None
Product: File System
Classification: Unclassified
Component: btrfs (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: Josef Bacik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-15 22:25 UTC by Holger Brandsmeier
Modified: 2014-01-16 19:51 UTC (History)
0 users

See Also:
Kernel Version: 3.12.7-2 (ARCH linux)
Tree: Mainline
Regression: No


Attachments
dmesg_output (72.43 KB, text/plain)
2014-01-15 22:29 UTC, Holger Brandsmeier
Details
output of btrfs-image -c9 -t4 (1.29 MB, application/octet-stream)
2014-01-16 19:51 UTC, Holger Brandsmeier
Details

Description Holger Brandsmeier 2014-01-15 22:25:23 UTC
Running

# btrfs-zero-log /dev/sda5

Fails with:

parent transid verify failed on 602529792 wanted 23460 found 23463
parent transid verify failed on 602529792 wanted 23460 found 23463
parent transid verify failed on 602529792 wanted 23460 found 23463
parent transid verify failed on 602529792 wanted 23460 found 23463
Ignoring transid failure
btrfs-zero-log: disk-io.c:155: readahead_tree_block: Assertion `!(ret)' failed.
Aborted (core dumped)

The corresponding dmesg output starts at timestamp 8975.683197 (see attachment).

Further details on this can also be found on the btrfs mailing list:
http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg30533.html
Comment 1 Holger Brandsmeier 2014-01-15 22:29:15 UTC
Created attachment 122211 [details]
dmesg_output
Comment 2 Holger Brandsmeier 2014-01-15 22:37:20 UTC
On the latest integration branch (origin/integration-20140106) I get the same error

# ./btrfs-zero-log /dev/sda5
parent transid verify failed on 602529792 wanted 23460 found 23463
parent transid verify failed on 602529792 wanted 23460 found 23463
parent transid verify failed on 602529792 wanted 23460 found 23463
parent transid verify failed on 602529792 wanted 23460 found 23463
Ignoring transid failure
btrfs-zero-log: disk-io.c:155: readahead_tree_block: Assertion `!(ret)' failed.
Aborted (core dumped)

with only the following output in dmesg:
[18428.056437] btrfs: device fsid f6907d81-f46f-4911-8600-858e8b6bd1a0 devid 1 transid 23462 /dev/sda5
[18428.440629] btrfs: device fsid f6907d81-f46f-4911-8600-858e8b6bd1a0 devid 1 transid 23462 /dev/sda5
Comment 3 Holger Brandsmeier 2014-01-16 19:50:19 UTC
Oh, I do also have the output of btrfs-image but I am not sure, if that succeeded:

# btrfs-image -c9 -t4 /dev/sda5 btrfs-image.out
parent transid verify failed on 602529792 wanted 23460 found 23463
parent transid verify failed on 602529792 wanted 23460 found 23463
parent transid verify failed on 602529792 wanted 23460 found 23463
parent transid verify failed on 602529792 wanted 23460 found 23463
Ignoring transid failure
Error going to next leaf -5
create failed (Success)

The output creates a file of size 1.3mb. I try to attach it to this bug (if that isn't too large)
Comment 4 Holger Brandsmeier 2014-01-16 19:51:20 UTC
Created attachment 122321 [details]
output of btrfs-image -c9 -t4

Note You need to log in before you can comment on or make changes to this bug.