On Thu, Dec 21, 2006 at 04:56:03PM -0700, Andreas Dilger wrote:
> > This patches work with OSS and clients on vanilla 2.6.18.
> > MDS has problem in mballoc code on 2.6.18, so I use 2.6.12.6 on MDS.
>
> You shouldn't use mballoc on the MDS at all.
And what is that?
Assertion failure in mb_free_blocks() at
/usr/src/redhat/BUILD/lustre-1.5.95/lustre/ldiskfs/mballoc.c:754:
"mb_test_bit(block, LDISKFS_MB_BITMAP(e3b))"
------------[ cut here ]------------
Kernel BUG at [verbose debug info unavailable]
invalid opcode: 0000 [#1]
SMP
Modules linked in: osc mds fsfilt_ldiskfs mgs mgc lustre lov lquota mdc
ksocklnd ptlrpc obdclass lnet lvfs libcfs ldiskfs jbd ehci_hcd bonding ata_piix
CPU: 1
EIP: 0060:[<f8b09286>] Not tainted VLI
EFLAGS: 00010296 (2.6.18.6-lustre-0.1 #1)
EIP is at mb_free_blocks+0x306/0x350 [ldiskfs]
eax: 0000009b ebx: 00000001 ecx: c042187c edx: 00000096
esi: c22425c0 edi: dddc7a80 ebp: dddc7a80 esp: dddc7a34
ds: 007b es: 007b ss: 0068
Process ll_mdt_09 (pid: 2308, ti=dddc6000 task=f6c65550 task.ti=dddc6000)
Stack: f8b13354 f8b0f94a f8b13314 000002f2 f8b133dc 6e26568b 00000000 00004879
00000000 0000487a 00000001 00000001 c22425c0 e5b3b800 dddc7a80 f8b0bff8
e5b3bb38 e5b3bb30 f7cfa000 c1165980 cb2cc000 c12439a0 d21cd000 ec0f5f80
Call Trace:
[<f8b0bff8>] ldiskfs_mb_free_committed_blocks+0xd8/0x140 [ldiskfs]
[<f8b0c449>] ldiskfs_mb_free_blocks+0x49/0x4a0 [ldiskfs]
[<f88b830d>] journal_revoke+0x6d/0x170 [jbd]
[<f88b7e49>] insert_revoke_hash+0x69/0x90 [jbd]
[<f8af3cc7>] ldiskfs_forget+0x57/0xf0 [ldiskfs]
[<c025d4d5>] __find_get_block+0x35/0x70
[<f8b0cabc>] ldiskfs_free_blocks+0xac/0xc0 [ldiskfs]
[<f8af6791>] ldiskfs_free_data+0xa1/0x130 [ldiskfs]
[<f8af6e63>] ldiskfs_truncate+0x413/0x4e0 [ldiskfs]
[<f88b34cc>] journal_start+0x8c/0xc0 [jbd]
[<f8af3f17>] ldiskfs_delete_inode+0xb7/0x100 [ldiskfs]
[<f8af3e60>] ldiskfs_delete_inode+0x0/0x100 [ldiskfs]
[<c0275864>] generic_delete_inode+0x84/0x120
[<c0275ac3>] iput+0x53/0x70
[<c0272eaa>] dput+0x6a/0x140
[<f8be18ca>] mds_reint_unlink+0xd5a/0x3190 [mds]
[<c0272ecc>] dput+0x8c/0x140
[<f88342cf>] push_ctxt+0x18f/0x2b0 [lvfs]
[<f8be8944>] mds_reint_rec+0xe4/0x340 [mds]
[<f8c05dba>] mds_unlink_unpack+0x17a/0x470 [mds]
[<f89f7720>] lustre_swab_mds_rec_unlink+0x0/0x80 [ptlrpc]
[<f89f5d61>] lustre_msg_add_version+0xb1/0x120 [ptlrpc]
[<f8bc029b>] mds_reint+0xcb/0x6c0 [mds]
[<f89f261e>] lustre_pack_reply+0x10e/0x1a0 [ptlrpc]
[<f8bc3d3a>] mds_handle+0xf8a/0x4280 [mds]
[<f89ff2b6>] ptlrpc_server_handle_request+0xb96/0x1510 [ptlrpc]
[<c02232d5>] __mod_timer+0x95/0xc0
[<f8a5e148>] cfs_block_sigs+0x88/0xb0 [libcfs]
[<f8a00cd2>] ptlrpc_main+0x6e2/0xcc0 [ptlrpc]
[<c0214f90>] default_wake_function+0x0/0x10
[<f8a005e0>] ptlrpc_retry_rqbds+0x0/0x10 [ptlrpc]
[<c0202d22>] ret_from_fork+0x6/0x1c
[<f8a005e0>] ptlrpc_retry_rqbds+0x0/0x10 [ptlrpc]
[<f8a005f0>] ptlrpc_main+0x0/0xcc0 [ptlrpc]
[<c02010d5>] kernel_thread_helper+0x5/0x10
Code: 44 24 10 dc 33 b1 f8 c7 44 24 0c f2 02 00 00 c7 44 24 08 14 33 b1 f8 c7
44 24 04 4a f9 b0 f8 c7 04 24 54 33 b1 f8 e8 1a 19 71 c7 <0f> 0b 8b 4f 0c e9 fc
fd ff ff c7 44 24 10 ac 33 b1 f8 c7 44 24
EIP: [<f8b09286>] mb_free_blocks+0x306/0x350 [ldiskfs] SS:ESP 0068:dddc7a34
_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss