From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f51.google.com ([74.125.83.51]:33219 "EHLO mail-pg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754327AbcK2SX6 (ORCPT ); Tue, 29 Nov 2016 13:23:58 -0500 Received: by mail-pg0-f51.google.com with SMTP id 3so72102432pgd.0 for ; Tue, 29 Nov 2016 10:23:57 -0800 (PST) Date: Tue, 29 Nov 2016 10:23:53 -0800 From: Omar Sandoval To: Eric Wheeler Cc: linux-btrfs@vger.kernel.org Subject: Re: kernel BUG at fs/btrfs/ctree.c:3179!: btrfs_set_item_key_safe Message-ID: <20161129182353.GA6024@vader.DHCP.thefacebook.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Tue, Nov 29, 2016 at 09:28:07AM -0800, Eric Wheeler wrote: > Hello All, > > This was running on an older 4.6.5 machine. Does anyone know if this has > been fixed in newer kernels? I'm guessing that this is the issue that Josef fixed here [1][2]. It's not in any current kernel, but it should make it into 4.10. 1: https://patchwork.kernel.org/patch/9431679/ 2: https://patchwork.kernel.org/patch/9428269/ > [340653.975882] ------------[ cut here ]------------ > [340653.978481] kernel BUG at fs/btrfs/ctree.c:3179! > [340653.979757] invalid opcode: 0000 [#1] > [340653.989870] CPU: 0 PID: 12861 Comm: kworker/u97:24 Tainted: G E 4.6.5 #1 > [340653.991390] Hardware name: Dell Inc. PowerEdge T420/03015M, BIOS 2.4.2 01/29/2015 > [340653.992952] Workqueue: btrfs-endio-write btrfs_endio_write_helper [btrfs] > > [340653.994495] task: ffff88003798c140 ti: ffff880526c74000 task.ti: ffff880526c74000 > [340653.996087] RIP: 0010:[] > [] btrfs_set_item_key_safe+0x172/0x180 [btrfs] > [340653.997762] RSP: 0018:ffff880526c77ad0 EFLAGS: 00010246 > [340653.999393] RAX: 0000000000000000 RBX: 0000000000000016 RCX: 0000015906340000 > [340654.001038] RDX: 0000000000000000 RSI: ffff880526c77bee RDI: ffff880526c77aef > [340654.002699] RBP: ffff880526c77b30 R08: 0000000000001000 R09: ffff880526c77af0 > [340654.004388] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880526c77ade > [340654.006072] R13: ffff880100b53150 R14: ffff880526c77bee R15: ffff8803e7e87298 > [340654.007800] FS: 0000000000000000(0000) GS:ffff88041f800000(0000) knlGS:0000000000000000 > [340654.009528] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [340654.011272] CR2: ffffffffff600400 CR3: 0000000191b24000 CR4: 00000000000406f0 > [340654.012884] Stack: > [340654.014506] ffff88041c67e000 > 0101ffffa03e1d58 > 006c000000000000 > 0100000159063400 > > [340654.016322] 6c00000000000001 > 0000015906340000 > 00000000b33ec473 > ffff880100b53150 > > [340654.018173] 0000000000000b3d > 0000000000000000 > 0000015906350000 > ffff8803e7e87298 > > [340654.020008] Call Trace: > [340654.021916] [] __btrfs_drop_extents+0x536/0xdb0 [btrfs] > [340654.023836] [] ? set_state_bits+0x43/0xc0 [btrfs] > [340654.025780] [] insert_reserved_file_extent.constprop.64+0xb0/0x320 [btrfs] > [340654.027725] [] btrfs_finish_ordered_io+0x47c/0x690 [btrfs] > [340654.029707] [] finish_ordered_fn+0x15/0x20 [btrfs] > [340654.031689] [] normal_work_helper+0xc0/0x2c0 [btrfs] > [340654.033669] [] btrfs_endio_write_helper+0x12/0x20 [btrfs] > [340654.035655] [] process_one_work+0x152/0x400 > [340654.037687] [] worker_thread+0x125/0x4b0 > [340654.039703] [] ? rescuer_thread+0x380/0x380 > [340654.041758] [] kthread+0xd8/0xf0 > [340654.043830] [] ret_from_fork+0x22/0x40 > [340654.045892] [] ? kthread_park+0x60/0x60 > > > > -- > Eric Wheeler > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html