Bug 63411

Summary: btrfs/013 fails - no csum found
Product: File System Reporter: David Sterba (dsterba)
Component: btrfsAssignee: Josef Bacik (josef)
Status: RESOLVED PATCH_ALREADY_AVAILABLE    
Severity: high CC: dsterba
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.12-rc6 Subsystem:
Regression: No Bisected commit-id:

Description David Sterba 2013-10-21 14:27:36 UTC
top commit 0df651a0740c9663093265277c32f0806e8ac23e, 3.12-rc6 plus some non-btrfs commits

one of the possible failures of test btrfs/013 - no csum found
no special mkfs mount options
mounted with enospc_debug,space_cache,noatime

btrfs/013               [14:48:22] [14:48:25] [failed, exit status 1] - output mismatch (see /root/xfstests/results//btrfs/013.out.bad)
    --- tests/btrfs/013.out     2013-10-21 14:19:17.000000000 +0200
    +++ /root/xfstests/results//btrfs/013.out.bad       2013-10-21 14:48:25.000000000 +0200
    @@ -1,2 +1,3 @@
     QA output created by 013
    -Silence is golden
    +csum detected, please check dmesg

[ 2094.202915] BTRFS info (device sda10): csum failed ino 257 off 16384 csum 628520344 expected csum 0
[ 2094.213168] BTRFS info (device sda10): csum failed ino 257 off 20480 csum 628520344 expected csum 0

hit on the first run
Comment 1 David Sterba 2013-10-24 14:06:01 UTC
Fixed by "Btrfs: relocate csums properly with prealloc extents"