[LU-3013] osp_precreate_get_fid()) ASSERTION( lu_fid_diff(&d->opd_pre_used_fid, &d->opd_pre_last_created_fid) < 0 ) failed: next fid [0x100010000:0x800:0x0] last created fid [0x100010000:0x800:0x0] Created: 22/Mar/13  Updated: 22/Mar/13  Resolved: 22/Mar/13

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.4.0
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: Oleg Drokin Assignee: WC Triage
Resolution: Duplicate Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 7334

 Description   

latest master test with racer crashed with this:

[ 5099.788048] LNet: Service thread pid 4069 was inactive for 40.00s. The thread might be hung, or it might only be slow and will resume later. Dumping the stack trace for debugging purposes:
[ 5099.788938] Pid: 4069, comm: ll_ost01_009
[ 5099.789186] 
[ 5099.789187] Call Trace:
[ 5099.789603]  [<ffffffff81057d72>] ? default_wake_function+0x12/0x20
[ 5099.789892]  [<ffffffff8104d2e9>] ? __wake_up_common+0x59/0x90
[ 5099.790318]  [<ffffffff8109004e>] ? prepare_to_wait+0x4e/0x80
[ 5099.790602]  [<ffffffffa03890e9>] start_this_handle+0x2b9/0x550 [jbd2]
[ 5099.790894]  [<ffffffffa0389531>] ? jbd2_journal_start+0x91/0x110 [jbd2]
[ 5099.791191]  [<ffffffff8108fd60>] ? autoremove_wake_function+0x0/0x40
[ 5099.791482]  [<ffffffffa0389570>] jbd2_journal_start+0xd0/0x110 [jbd2]
[ 5099.791780]  [<ffffffffa0902eb8>] ldiskfs_journal_start_sb+0x58/0x90 [ldiskfs]
[ 5099.800391]  [<ffffffffa0cb9bbf>] osd_trans_start+0x1df/0x680 [osd_ldiskfs]
[ 5099.800716]  [<ffffffffa0e058bd>] ofd_trans_start+0x22d/0x3f0 [ofd]
[ 5099.801015]  [<ffffffffa0e06313>] ofd_object_destroy+0x203/0x680 [ofd]
[ 5099.801303]  [<ffffffffa0dfa792>] ofd_destroy_by_fid+0x182/0x380 [ofd]
[ 5099.801619]  [<ffffffffa07751c0>] ? ldlm_blocking_ast+0x0/0x180 [ptlrpc]
[ 5099.801930]  [<ffffffffa0776820>] ? ldlm_completion_ast+0x0/0x950 [ptlrpc]
[ 5099.802253]  [<ffffffffa079e885>] ? lustre_msg_buf+0x55/0x60 [ptlrpc]
[ 5099.802544]  [<ffffffffa0dfbc97>] ofd_destroy+0x187/0x670 [ofd]
[ 5099.802824]  [<ffffffffa04e6742>] ost_handle+0x3b12/0x4590 [ost]
[ 5099.803115]  [<ffffffffa0468194>] ? libcfs_id2str+0x74/0xb0 [libcfs]
[ 5099.803423]  [<ffffffffa07ae003>] ptlrpc_server_handle_request+0x443/0xe40 [ptlrpc]
[ 5099.803901]  [<ffffffffa045c65e>] ? cfs_timer_arm+0xe/0x10 [libcfs]
[ 5099.804191]  [<ffffffffa07a6fc1>] ? ptlrpc_wait_event+0xb1/0x2a0 [ptlrpc]
[ 5099.804501]  [<ffffffff81051f73>] ? __wake_up+0x53/0x70
[ 5099.804758]  [<ffffffffa07b0acd>] ptlrpc_main+0xafd/0x17f0 [ptlrpc]
[ 5099.805041]  [<ffffffffa07affd0>] ? ptlrpc_main+0x0/0x17f0 [ptlrpc]
[ 5099.805303]  [<ffffffff8100c14a>] child_rip+0xa/0x20
[ 5099.805555]  [<ffffffffa07affd0>] ? ptlrpc_main+0x0/0x17f0 [ptlrpc]
[ 5099.805830]  [<ffffffffa07affd0>] ? ptlrpc_main+0x0/0x17f0 [ptlrpc]
[ 5099.806099]  [<ffffffff8100c140>] ? child_rip+0x0/0x20
[ 5099.806337] 
[ 5099.806514] LustreError: dumping log to /tmp/lustre-log.1363908409.4069
[ 5099.860135] Lustre: lustre-OST0001-osc-MDT0000: slow creates, last=[0x100010000:0x800:0x0], next=[0x100010000:0x800:0x0], reserved=0, syn_changes=17, syn_rpc_in_progress=10, status=0
[ 5099.861116] LustreError: 6229:0:(osp_precreate.c:1165:osp_precreate_get_fid()) ASSERTION( lu_fid_diff(&d->opd_pre_used_fid, &d->opd_pre_last_created_fid) < 0 ) failed: next fid [0x100010000:0x800:0x0] last created fid [0x100010000:0x800:0x0]
[ 5099.862279] LustreError: 6229:0:(osp_precreate.c:1165:osp_precreate_get_fid()) LBUG
[ 5099.862752] Pid: 6229, comm: mdt00_006
[ 5099.862992] 
[ 5099.862992] Call Trace:
[ 5099.863415]  [<ffffffffa045b915>] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
[ 5099.863720]  [<ffffffffa045bf17>] lbug_with_loc+0x47/0xb0 [libcfs]
[ 5099.864011]  [<ffffffffa0dc0c53>] osp_precreate_get_fid+0x253/0x310 [osp]
[ 5099.864316]  [<ffffffffa0cd2b30>] ? iam_lfix_ipd_alloc+0x0/0x20 [osd_ldiskfs]
[ 5099.864619]  [<ffffffffa0dbe59b>] osp_object_assign_fid+0x7b/0x160 [osp]
[ 5099.864945]  [<ffffffffa0dbedbe>] osp_object_create+0x40e/0x890 [osp]
[ 5099.865237]  [<ffffffff8119e612>] ? generic_setxattr+0xa2/0xb0
[ 5099.865605]  [<ffffffffa070e303>] lod_striping_create+0x193/0x320 [lod]
[ 5099.865911]  [<ffffffffa070e603>] lod_object_create+0x173/0x260 [lod]
[ 5099.869085]  [<ffffffffa0c484f0>] mdd_object_create_internal+0xa0/0x1c0 [mdd]
[ 5099.869414]  [<ffffffffa0c58e41>] mdd_create+0xa41/0x1770 [mdd]
[ 5099.869704]  [<ffffffffa070b0d0>] ? lod_index_lookup+0x0/0x30 [lod]
[ 5099.870058]  [<ffffffffa0d53664>] mdt_reint_open+0x13d4/0x20d0 [mdt]
[ 5099.870362]  [<ffffffffa0478baf>] ? upcall_cache_get_entry+0x3bf/0x870 [libcfs]
[ 5099.870858]  [<ffffffffa079efdc>] ? lustre_msg_add_version+0x6c/0xc0 [ptlrpc]
[ 5099.871194]  [<ffffffffa061dec0>] ? lu_ucred+0x20/0x30 [obdclass]
[ 5099.871485]  [<ffffffffa0d3e061>] mdt_reint_rec+0x41/0xe0 [mdt]
[ 5099.871766]  [<ffffffffa0d376e3>] mdt_reint_internal+0x4e3/0x7d0 [mdt]
[ 5099.872067]  [<ffffffffa0d37c9d>] mdt_intent_reint+0x1ed/0x4f0 [mdt]
[ 5099.872360]  [<ffffffffa0d3338e>] mdt_intent_policy+0x3ae/0x750 [mdt]
[ 5099.872679]  [<ffffffffa075770a>] ldlm_lock_enqueue+0x2ea/0x870 [ptlrpc]
[ 5099.873245]  [<ffffffffa077ddc7>] ldlm_handle_enqueue0+0x4f7/0x10b0 [ptlrpc]
[ 5099.873658]  [<ffffffffa0d33866>] mdt_enqueue+0x46/0x110 [mdt]
[ 5099.873968]  [<ffffffffa0d25fa8>] mdt_handle_common+0x648/0x1660 [mdt]
[ 5099.874277]  [<ffffffffa0d61745>] mds_regular_handle+0x15/0x20 [mdt]
[ 5099.874591]  [<ffffffffa07ae003>] ptlrpc_server_handle_request+0x443/0xe40 [ptlrpc]
[ 5099.875080]  [<ffffffffa045c65e>] ? cfs_timer_arm+0xe/0x10 [libcfs]
[ 5099.875383]  [<ffffffffa07a6fc1>] ? ptlrpc_wait_event+0xb1/0x2a0 [ptlrpc]
[ 5099.875677]  [<ffffffff81051f73>] ? __wake_up+0x53/0x70
[ 5099.875960]  [<ffffffffa07b0acd>] ptlrpc_main+0xafd/0x17f0 [ptlrpc]
[ 5099.876272]  [<ffffffffa07affd0>] ? ptlrpc_main+0x0/0x17f0 [ptlrpc]
[ 5099.876561]  [<ffffffff8100c14a>] child_rip+0xa/0x20
[ 5099.876875]  [<ffffffffa07affd0>] ? ptlrpc_main+0x0/0x17f0 [ptlrpc]
[ 5099.880476]  [<ffffffffa07affd0>] ? ptlrpc_main+0x0/0x17f0 [ptlrpc]
[ 5099.880881]  [<ffffffff8100c140>] ? child_rip+0x0/0x20
[ 5099.881186] 
[ 5099.890108] Kernel panic - not syncing: LBUG

Crashdump and modules in /exports/crashdumps/192.168.10.220-2013-03-21-19\:26\:51

source branch: master-20130320



 Comments   
Comment by Niu Yawei (Inactive) [ 22/Mar/13 ]

duplicated with LU-2895

Generated at Sat Feb 10 01:30:12 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.