xfs-masters
[Top] [All Lists]

[xfs-masters] [Bug 10421] Filesystem failing without any warning or etc

To: xfs-masters@xxxxxxxxxxx
Subject: [xfs-masters] [Bug 10421] Filesystem failing without any warning or etc
From: bugme-daemon@xxxxxxxxxxxxxxxxxxx
Date: Fri, 9 May 2008 07:23:37 -0700 (PDT)
In-reply-to: <bug-10421-470@xxxxxxxxxxxxxxxxxxxxxxxx/>
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
http://bugzilla.kernel.org/show_bug.cgi?id=10421





------- Comment #40 from sandeen-xfs@xxxxxxxxxxx  2008-05-09 07:23 -------
Further; I actually ran the above test under restricted memory (mem=512m) on a
4cpu machine, in a mkfs; mount; run test; umount loop.

I added more printks & a dump stack and ran overnight; the stack dump is
probably not that interesting, but:

Call Trace:
 [<ffffffff883f56e9>] :xfs:xfs_iunlink_remove+0x2c7/0x3df
 [<ffffffff884058aa>] :xfs:xfs_trans_reserve+0xea/0x1cc
 [<ffffffff883f6421>] :xfs:xfs_ifree+0x18/0xf3
 [<ffffffff8840df71>] :xfs:xfs_inactive+0x313/0x3d7
 [<ffffffff88416654>] :xfs:xfs_fs_clear_inode+0xa4/0xec
 [<ffffffff80022c2d>] clear_inode+0xd2/0x123
 [<ffffffff8002f340>] generic_delete_inode+0xde/0x143
 [<ffffffff8003c2f6>] do_unlinkat+0xd5/0x141
 [<ffffffff8005d229>] tracesys+0x71/0xe0
 [<ffffffff8005d28d>] tracesys+0xd5/0xe0

I also added a printk in xfs_iunlink_remove()

...
                                xfs_trans_brelse(tp, last_ibp);
                        }
                        next_ino = XFS_AGINO_TO_INO(mp, agno, next_agino);
+                       if (next_ino == 4294967293) {
+                               printk("ip->i_ino %llu agino %u next_ino %llu
next_agino %u agno %u bucket_index %d\n", ip->i_ino, agino, next_ino,
next_agino, agno, bucket_index);
+                               dump_stack();
+                       }
                        error = xfs_inotobp(mp, tp, next_ino, &last_dip,
                                            &last_ibp, &last_offset);
                        if (error) {

and got, in several runs:

(remember NULLAGINO is now "-3" in my kernel)

ip->i_ino 268640385 agino 204929 next_ino 4294967293 next_agino 4294967293 agno
2 bucket_index 1
ip->i_ino 134217857 agino 129 next_ino 4294967293 next_agino 4294967293 agno 1
bucket_index 1
ip->i_ino 402653313 agino 129 next_ino 4294967293 next_agino 4294967293 agno 3
bucket_index 1
ip->i_ino 134217857 agino 129 next_ino 4294967293 next_agino 4294967293 agno 1
bucket_index 1
ip->i_ino 402653313 agino 129 next_ino 4294967293 next_agino 4294967293 agno 3
bucket_index 1


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>