Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751924AbcCXWyW (ORCPT ); Thu, 24 Mar 2016 18:54:22 -0400 Received: from arcturus.aphlor.org ([188.246.204.175]:37844 "EHLO arcturus.aphlor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751845AbcCXWyT (ORCPT ); Thu, 24 Mar 2016 18:54:19 -0400 Date: Thu, 24 Mar 2016 18:54:11 -0400 From: Dave Jones To: Linux Kernel Cc: Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org Subject: btrfs_destroy_inode WARN_ON. Message-ID: <20160324225411.GA1612@codemonkey.org.uk> Mail-Followup-To: Dave Jones , Linux Kernel , Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Score: -2.9 (--) X-Spam-Report: Spam detection software, running on the system "arcturus.aphlor.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Just hit this on a tree from earlier this morning, v4.5-11140 or so. WARNING: CPU: 2 PID: 32570 at fs/btrfs/inode.c:9261 btrfs_destroy_inode+0x389/0x3f0 [btrfs] CPU: 2 PID: 32570 Comm: rm Not tainted 4.5.0-think+ #14 ffffffffc039baf9 00000000ef721ef0 ffff88025966fc08 ffffffff8957bcdb 0000000000000000 0000000000000000 ffff88025966fc50 ffffffff890b41f1 ffff88045d918040 0000242d4eed6048 ffff88024eed6048 ffff88024eed6048 Call Trace: [] ? btrfs_destroy_inode+0x389/0x3f0 [btrfs] [] dump_stack+0x68/0x9d [] __warn+0x111/0x130 [] warn_slowpath_null+0x1d/0x20 [] btrfs_destroy_inode+0x389/0x3f0 [btrfs] [] destroy_inode+0x67/0x90 [] evict+0x1b7/0x240 [] iput+0x3ae/0x4e0 [] ? dput+0x20e/0x460 [] do_unlinkat+0x256/0x440 [] ? do_rmdir+0x350/0x350 [] ? syscall_trace_enter_phase1+0x87/0x260 [] ? enter_from_user_mode+0x50/0x50 [] ? __lock_is_held+0x25/0xd0 [] ? mark_held_locks+0x22/0xc0 [] ? syscall_trace_enter_phase2+0x12d/0x3d0 [] ? SyS_rmdir+0x20/0x20 [] SyS_unlinkat+0x1b/0x30 [] do_syscall_64+0xf4/0x240 [] entry_SYSCALL64_slow_path+0x25/0x25 ---[ end trace a48ce4e6a1b5e409 ]--- [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1637 Lines: 37 Just hit this on a tree from earlier this morning, v4.5-11140 or so. WARNING: CPU: 2 PID: 32570 at fs/btrfs/inode.c:9261 btrfs_destroy_inode+0x389/0x3f0 [btrfs] CPU: 2 PID: 32570 Comm: rm Not tainted 4.5.0-think+ #14 ffffffffc039baf9 00000000ef721ef0 ffff88025966fc08 ffffffff8957bcdb 0000000000000000 0000000000000000 ffff88025966fc50 ffffffff890b41f1 ffff88045d918040 0000242d4eed6048 ffff88024eed6048 ffff88024eed6048 Call Trace: [] ? btrfs_destroy_inode+0x389/0x3f0 [btrfs] [] dump_stack+0x68/0x9d [] __warn+0x111/0x130 [] warn_slowpath_null+0x1d/0x20 [] btrfs_destroy_inode+0x389/0x3f0 [btrfs] [] destroy_inode+0x67/0x90 [] evict+0x1b7/0x240 [] iput+0x3ae/0x4e0 [] ? dput+0x20e/0x460 [] do_unlinkat+0x256/0x440 [] ? do_rmdir+0x350/0x350 [] ? syscall_trace_enter_phase1+0x87/0x260 [] ? enter_from_user_mode+0x50/0x50 [] ? __lock_is_held+0x25/0xd0 [] ? mark_held_locks+0x22/0xc0 [] ? syscall_trace_enter_phase2+0x12d/0x3d0 [] ? SyS_rmdir+0x20/0x20 [] SyS_unlinkat+0x1b/0x30 [] do_syscall_64+0xf4/0x240 [] entry_SYSCALL64_slow_path+0x25/0x25 ---[ end trace a48ce4e6a1b5e409 ]--- That's WARN_ON(BTRFS_I(inode)->csum_bytes); *maybe* it's a bad disk, but there's no indication in dmesg of anything awry. Spinning rust on SATA, nothing special. Dave