Chris Mason wrote: > >> is it possible to test it on top of LVM2 on RAID at this stage? > > Yes, I haven't done much multi-spindle testing yet, so I'm definitely > interested in these numbers. > > -chris > > I did not get very far: # insmod btrfs.ko # mkfs.btrfs /dev/brain_volume_group/btrfstest on close 0 blocks are allocated fs created on /dev/brain_volume_group/btrfstest blocksize 4096 blocks 4980736 (/dev/brain_volume_group/btrfstest is a 20GB logical volume on top of RAID6) # mount /dev/brain_volume_group/btrfstest /mnt/temp/ (this gives these kernel-msgs: [ 385.980358] btrfs: dm-6 checksum verify failed on 4 [ 385.980462] btrfs: dm-6 checksum verify failed on 12 [ 385.980559] btrfs: dm-6 checksum verify failed on 11 ) # touch /mnt/temp/default/testfile.txt [ 445.445638] btrfs: dm-6 checksum verify failed on 10 # umount /mnt/temp/ [ 457.980372] ------------[ cut here ]------------ [ 457.980377] kernel BUG at fs/buffer.c:2644! [ 457.980379] invalid opcode: 0000 [1] PREEMPT [ 457.980382] CPU 0 [ 457.980384] Modules linked in: btrfs snd_seq_midi cx88_dvb cx88_vp3054_i2c video_buf_dvb snd_ice1712 snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_cs8427 snd_ac97_codec ac97_bus snd_i2c snd_mpu401_uart snd_rawmidi cx8800 cx8802 cx88xx ir_common tveeprom btcx_risc video_buf uhci_hcd [ 457.980397] Pid: 6040, comm: btrfs/0 Not tainted 2.6.21.5 #50 [ 457.980400] RIP: 0010:[<ffffffff8021996c>] [<ffffffff8021996c>] submit_bh+0xf/0x102 [ 457.980408] RSP: 0018:ffff81000bab7d30 EFLAGS: 00010246 [ 457.980411] RAX: 000000000000a829 RBX: ffff81000ac207b0 RCX: ffff81005f0458c8 [ 457.980414] RDX: 0000000000000033 RSI: ffff81000ac207b0 RDI: 0000000000000001 [ 457.980418] RBP: 0000000000000001 R08: ffff81000ccdd3f8 R09: ffff81005fe78d50 [ 457.980422] R10: 00000000025fffe0 R11: ffffffff802407c7 R12: 0000000000000000 [ 457.980426] R13: ffff81001c16f480 R14: ffff81000ccdd3f8 R15: ffff81000bab7d88 [ 457.980430] FS: 00002b7554d54050(0000) GS:ffffffff80728000(0000) knlGS:00000000f7e3f6b0 [ 457.980434] CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b [ 457.980437] CR2: 00002aaaaabaf000 CR3: 0000000003b06000 CR4: 00000000000006e0 [ 457.980441] Process btrfs/0 (pid: 6040, threadinfo ffff81000bab6000, task ffff81005dba8480) [ 457.980443] Stack: ffff81000ac207b0 ffff81001c16f480 0000000000000000 ffffffff880988bb [ 457.980450] ffff81001c16f480 ffff81000bab7d80 ffff81000fee76e0 ffffffff88099eb1 [ 457.980455] 0000000100000000 ffff81001b318c10 ffff81001c16f180 0000000000000050 [ 457.980459] Call Trace: [ 457.980471] [<ffffffff880988bb>] :btrfs:write_ctree_super+0xd3/0x11f [ 457.980480] [<ffffffff88099eb1>] :btrfs:btrfs_commit_transaction+0x43e/0x5c0 [ 457.980486] [<ffffffff80257e4b>] cache_alloc_refill+0x2a3/0x4f7 [ 457.980491] [<ffffffff802873fb>] autoremove_wake_function+0x0/0x2e [ 457.980501] [<ffffffff8809a033>] :btrfs:btrfs_transaction_cleaner+0x0/0x141 [ 457.980510] [<ffffffff8809a0e0>] :btrfs:btrfs_transaction_cleaner+0xad/0x141 [ 457.980515] [<ffffffff8024869c>] run_workqueue+0xb5/0x18e [ 457.980519] [<ffffffff80245499>] worker_thread+0x0/0x145 [ 457.980523] [<ffffffff80287256>] keventd_create_kthread+0x0/0x89 [ 457.980526] [<ffffffff802455a8>] worker_thread+0x10f/0x145 [ 457.980531] [<ffffffff80277d4f>] default_wake_function+0x0/0xe [ 457.980535] [<ffffffff80287256>] keventd_create_kthread+0x0/0x89 [ 457.980540] [<ffffffff802302cb>] kthread+0xca/0xfb [ 457.980545] [<ffffffff80259318>] child_rip+0xa/0x12 [ 457.980549] [<ffffffff80287256>] keventd_create_kthread+0x0/0x89 [ 457.980555] [<ffffffff80230201>] kthread+0x0/0xfb [ 457.980558] [<ffffffff8025930e>] child_rip+0x0/0x12 [ 457.980561] [ 457.980562] [ 457.980563] Code: 0f 0b eb fe 8b 06 a8 20 75 04 0f 0b eb fe 48 83 7e 38 00 75 [ 457.980571] RIP [<ffffffff8021996c>] submit_bh+0xf/0x102 [ 457.980576] RSP <ffff81000bab7d30> Linux localhost 2.6.21.5 #51 Fri Jun 15 20:53:36 CEST 2007 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html