From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Mailand Subject: rbd snap Date: Fri, 16 Sep 2011 16:45:27 +0200 Message-ID: <4E736107.4050309@tuxadero.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from einhorn.in-berlin.de ([192.109.42.8]:39619 "EHLO einhorn.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754582Ab1IPOp3 (ORCPT ); Fri, 16 Sep 2011 10:45:29 -0400 Received: from [172.30.1.184] ([192.166.201.59]) (authenticated bits=0) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id p8GEjRxA016105 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 16 Sep 2011 16:45:27 +0200 Sender: ceph-devel-owner@vger.kernel.org List-ID: To: ceph-devel@vger.kernel.org Hi, should rbd snap work? I created a snapshot and then I want to list it. rbd snap create --snap=2011091601 lenny1 rbd snap ls lenny1 But the ls command does not come back and I get a Kernel bug on 2 OSD. It is reproducible. [ 7658.115729] ------------[ cut here ]------------ [ 7658.115779] kernel BUG at fs/btrfs/delayed-inode.c:1693! [ 7658.115812] invalid opcode: 0000 [#1] SMP [ 7658.115846] CPU 1 [ 7658.115861] Modules linked in: radeon ttm drm_kms_helper drm i2c_algo_bit psmouse k8temp sp5100_tco edac_core edac_mce_amd serio_raw shpchp i2c_piix4 lp parport ahci pata_atiixp libahci btrfs e1000e zlib_deflate libcrc32c [ 7658.116080] [ 7658.116095] Pid: 1418, comm: cosd Tainted: G W 3.1.0-rc6 #1 MICRO-STAR INTERNATIONAL CO., LTD MS-96B3/MS-96B3 [ 7658.116167] RIP: 0010:[] [] btrfs_delayed_update_inode+0x2a0/0x2b0 [btrfs] [ 7658.116278] RSP: 0018:ffff8801160efbc8 EFLAGS: 00010286 [ 7658.116311] RAX: 00000000ffffffe4 RBX: ffff8800777c0120 RCX: 0000000000018000 [ 7658.116351] RDX: 000000000000f7e5 RSI: 0000000000018000 RDI: ffff880116b10160 [ 7658.116389] RBP: ffff8801160efc08 R08: ffffe8ffffc81a40 R09: ffff8800886826a0 [ 7658.116428] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880001e4af50 [ 7658.116467] R13: ffff8800777c0168 R14: ffff880117122ea0 R15: ffff880115113000 [ 7658.116507] FS: 00007f80e30eb700(0000) GS:ffff88011fc80000(0000) knlGS:0000000000000000 [ 7658.116550] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 7658.116583] CR2: ffffffffff600400 CR3: 0000000116015000 CR4: 00000000000006e0 [ 7658.116623] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 7658.116662] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 7658.116700] Process cosd (pid: 1418, threadinfo ffff8801160ee000, task ffff880116aeade0) [ 7658.116744] Stack: [ 7658.116759] 0000000000000282 0000000000018000 ffff8801160efc18 ffff880001e4af50 [ 7658.116817] ffff880117122ea0 ffff8800391b01e0 ffff8801171113f0 0000000000000000 [ 7658.116875] ffff8801160efc58 ffffffffa003f353 ffff8801160efc38 ffffffffa00677f8 [ 7658.116933] Call Trace: [ 7658.116978] [] btrfs_update_inode+0x53/0x160 [btrfs] [ 7658.117039] [] ? btrfs_tree_unlock+0x78/0xb0 [btrfs] [ 7658.117099] [] btrfs_ioctl_clone+0x9b4/0xd20 [btrfs] [ 7658.117164] [] btrfs_ioctl+0x306/0xe20 [btrfs] [ 7658.117204] [] ? do_filp_open+0x42/0xa0 [ 7658.117240] [] do_vfs_ioctl+0x98/0x540 [ 7658.117277] [] ? kmem_cache_free+0x20/0x100 [ 7658.117313] [] sys_ioctl+0x91/0xa0 [ 7658.117347] [] system_call_fastpath+0x16/0x1b [ 7658.117381] Code: 00 03 00 00 8d 0c 49 48 89 ca 48 89 4d c8 e8 f8 7d fa ff 85 c0 48 8b 4d c8 75 10 48 89 4b 08 e9 cc fd ff ff 0f 1f 80 00 00 00 00 <0f> 0b 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 53 [ 7658.117814] RIP [] btrfs_delayed_update_inode+0x2a0/0x2b0 [btrfs] [ 7658.117883] RSP [ 7658.122364] ---[ end trace c8a580615cad6cbe ]--- Best Regards, Martin