Return-Path: Received: with ECARTIS (v1.0.0; list xfs); Sun, 02 Mar 2008 08:15:11 -0800 (PST) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m22GEjDv013265 for ; Sun, 2 Mar 2008 08:14:46 -0800 Received: from ug-out-1314.google.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id A210F1249536 for ; Sun, 2 Mar 2008 08:15:12 -0800 (PST) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by cuda.sgi.com with ESMTP id Xj7wUJnrZ7THUz9H for ; Sun, 02 Mar 2008 08:15:12 -0800 (PST) Received: by ug-out-1314.google.com with SMTP id o29so2047715ugd.20 for ; Sun, 02 Mar 2008 08:15:11 -0800 (PST) Date: Sun, 2 Mar 2008 17:15:07 +0100 From: Iustin Pop Subject: XFS_WANT_CORRUPTED_GOTO report Message-ID: <20080302161507.GC12740@teal.hq.k1024.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com List-Id: xfs To: xfs@oss.sgi.com Hi, I searched the list but didn't find any reports of XFS_WANT_CORRUPTED_GOTO in xfs_bmap_add_extent_unwritten_real, so here it goes. My kernel is tainted as I use nvidia's binary driver, so if I'm told to go away I understand :) Otherwise it's a self compiled amd64 kernel on debian unstable. The filesystem in question was recently grown, and I did on a file: xfs_io disk0.img resvp 0 2G truncate 8G (not with G but with the actual numbers). Then I proceeded to write into this file (it was used as a qemu disk image) and at some point: XFS internal error XFS_WANT_CORRUPTED_GOTO at line 2058 of file fs/xfs/xfs_bmap_btree.c. Caller 0xffffffff80318a80 Pid: 281, comm: xfsdatad/1 Tainted: P 2.6.24.3-teal #1 Call Trace: [] xfs_bmap_add_extent_unwritten_real+0x710/0xce0 [] xfs_bmbt_insert+0x14d/0x150 [] xfs_bmap_add_extent_unwritten_real+0x710/0xce0 [] xfs_bmap_add_extent+0x147/0x440 [] xfs_iext_get_ext+0x49/0x80 [] xfs_btree_init_cursor+0x45/0x220 [] xfs_bmapi+0xc31/0x1360 [] xlog_grant_log_space+0x298/0x2e0 [] xfs_trans_reserve+0xa8/0x210 [] xfs_iomap_write_unwritten+0x14b/0x220 [] xfs_iomap+0x25a/0x390 [] thread_return+0x3a/0x56c [] xfs_end_bio_unwritten+0x0/0x40 [] xfs_end_bio_unwritten+0x2f/0x40 [] run_workqueue+0xcc/0x170 [] worker_thread+0x0/0x110 [] worker_thread+0x0/0x110 [] worker_thread+0xa3/0x110 [] autoremove_wake_function+0x0/0x30 [] worker_thread+0x0/0x110 [] worker_thread+0x0/0x110 [] kthread+0x4b/0x80 [] child_rip+0xa/0x12 [] kthread+0x0/0x80 [] child_rip+0x0/0x12 Filesystem "dm-4": XFS internal error xfs_trans_cancel at line 1163 of file fs/xfs/xfs_trans.c. Caller 0xffffffff80340a9b Pid: 281, comm: xfsdatad/1 Tainted: P 2.6.24.3-teal #1 Call Trace: [] xfs_iomap_write_unwritten+0x1fb/0x220 [] xfs_trans_cancel+0x104/0x130 [] xfs_iomap_write_unwritten+0x1fb/0x220 [] xfs_iomap+0x25a/0x390 [] thread_return+0x3a/0x56c [] xfs_end_bio_unwritten+0x0/0x40 [] xfs_end_bio_unwritten+0x2f/0x40 [] run_workqueue+0xcc/0x170 [] worker_thread+0x0/0x110 [] worker_thread+0x0/0x110 [] worker_thread+0xa3/0x110 [] autoremove_wake_function+0x0/0x30 [] worker_thread+0x0/0x110 [] worker_thread+0x0/0x110 [] kthread+0x4b/0x80 [] child_rip+0xa/0x12 [] kthread+0x0/0x80 [] child_rip+0x0/0x12 xfs_force_shutdown(dm-4,0x8) called from line 1164 of file fs/xfs/xfs_trans.c. Return address = 0xffffffff803515ed Filesystem "dm-4": Corruption of in-memory data detected. Shutting down filesystem: dm-4 Please umount the filesystem, and rectify the problem(s) xfs_repair didn't say anything related to corruption, mounting it just said starting recovery... ending recovery. After mount, the file in question is heavily fragmented (around 1600 segments). I'm not sure if this file caused the corruption, but I'm almost certain, as no other traffic should have been at that time. I also have a metadump (run before recovery) and a full copy of the filesystem if it's useful. thanks, iustin