Skip to contentSkip to conversation

2.6.30-06725: xfs_fsr: Assertion failed: ip->i_delayed_blks == 0, file: fs/xfs/xfs_bmap.c, line: 5991

DISCUSSION Lachlan McIlroy 3 participants 4 messages Jun 20, 2009 – Jun 23, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 941396568.292261245481145500.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com

#1 lore raw

Hi Alexander,

I've seen this assertion before and if it's the problem I think it is then it should be fixed with this patch:

http://oss.sgi.com/archives/xfs/2009-02/msg00176.html

It shouldn't be difficult to test this too - If you run about 1024 dd writers to separate 100MB files and then run xfs_bmap on each file afterwards it should assert.

Lachlan

Quoted 50 lines · ----- "Alexander Beregalov

Hi

Assertion failed: ip->i_delayed_blks == 0, file: fs/xfs/xfs_bmap.c,
line: 5991

------------[ cut here ]------------
kernel BUG at fs/xfs/support/debug.c:109!
invalid opcode: 0000 [#1] DEBUG_PAGEALLOC
last sysfs file:
/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
Modules linked in: w83627hf hwmon_vid i2c_nforce2

Pid: 3164, comm: xfs_fsr Not tainted (2.6.30-06725-g1d89b30 #2)
EIP: 0060:[<c11a063e>] EFLAGS: 00010292 CPU: 0
EIP is at assfail+0x1e/0x30
EAX: 00000061 EBX: 0000007f ECX: c13501b7 EDX: ef693d80
ESI: 00000000 EDI: f67c3de4 EBP: f67c3d38 ESP: f67c3d28
DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
Process xfs_fsr (pid: 3164, ti=f67c2000 task=ef693d80 task.ti=f67c2000)

Stack:
 c142ab88 c140c8c5 c140c42d 00001767 f67c3dd0 c114d53f ffffffff

ffffffff
<0> 00000000 00000000 00000001 efdb91e4 ef693d80 f67c3d88 00000246 c109abea
<0> f6df4768 00000246 00000000 00000000 c1198ca0 f3d732e0 e8ae8000 00000002

Call Trace:
 [<c114d53f>] ? xfs_getbmap+0x19f/0x7b0
 [<c109abea>] ? __d_lookup+0xca/0x170
 [<c1198ca0>] ? xfs_getbmap_format+0x0/0x30
 [<c1073da6>] ? might_fault+0x46/0xa0
 [<c11ca7e5>] ? copy_from_user+0x35/0x140
 [<c1198e48>] ? xfs_ioc_getbmap+0x68/0xf0
 [<c119a830>] ? xfs_file_ioctl+0x420/0x860
 [<c104d3dd>] ? print_lock_contention_bug+0x1d/0x110
 [<c106a3f6>] ? put_page+0x56/0x110
 [<c1083ffc>] ? slab_pad_check+0x3c/0x120
 [<c10852fd>] ? check_object+0x13d/0x200
 [<c119a410>] ? xfs_file_ioctl+0x0/0x860
 [<c1096950>] ? vfs_ioctl+0x20/0x70
 [<c1096b4a>] ? do_vfs_ioctl+0x6a/0x5c0
 [<c104ea5b>] ? trace_hardirqs_on+0xb/0x10
 [<c1078f96>] ? remove_vma+0x56/0x70
 [<c1078f96>] ? remove_vma+0x56/0x70
 [<c1078f96>] ? remove_vma+0x56/0x70
 [<c1079e4b>] ? do_munmap+0x23b/0x280
 [<c10970d9>] ? sys_ioctl+0x39/0x70
 [<c1002d58>] ? sysenter_do_call+0x12/0x36
Quoted 4 lines

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#2 lore raw
Quoted 10 lines · Lachlan McIlroy

Hi Alexander,

I've seen this assertion before and if it's the problem I think it is then it should be fixed with this patch:

http://oss.sgi.com/archives/xfs/2009-02/msg00176.html

It shouldn't be difficult to test this too - If you run about 1024 dd writers to separate 100MB files and then run xfs_bmap on each file afterwards it should assert.

Thas is in a filesystem not big enough to actually fit those files, right? Might be worth adding a testcase like this..

Alex, can you give that patch a try?

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#3 lore raw

2009/6/20 Christoph Hellwig <[email protected]>:

Quoted 8 lines · Lachlan McIlroy
Quoted 7 lines

Hi Alexander,

I've seen this assertion before and if it's the problem I think it is then it should be fixed with this patch:

http://oss.sgi.com/archives/xfs/2009-02/msg00176.html

Quoted 8 lines
Quoted 3 lines

It shouldn't be difficult to test this too - If you run about 1024 dd writers to separate 100MB files and then run xfs_bmap on each file afterwards it should assert.

Thas is in a filesystem not big enough to actually fit those files, right?  Might be worth adding a testcase like this..

Alex, can you give that patch a try?

Yes, I have applied and testing it now.
I will let you know.
Thanks.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#4 lore raw
In reply to Lachlan McIlroy

2009/6/20 Lachlan McIlroy <[email protected]>:

Quoted 11 lines

Hi Alexander,

I've seen this assertion before and if it's the problem I think it is then it should be fixed with this patch:

http://oss.sgi.com/archives/xfs/2009-02/msg00176.html

It shouldn't be difficult to test this too - If you run about 1024 dd writers to separate 100MB files and then run xfs_bmap on each file afterwards it should assert.

Still the same problem with this patch, it does not work for me.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs