Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
Yet another credits problem on ldiskfs.
this is a 100% trigger with current master vs upstream client with master scripts.
[ 4651.893361] Lustre: DEBUG MARKER: == sanity test 129: test directory size limit ======================================================== 17:26:48 (1477862808) [ 4716.006255] Lustre: 26843:0:(osd_handler.c:463:osd_ldiskfs_add_entry()) lustre-MDT0000: directory (inode: 25372, FID: [0x200002b12:0x127cc:0x0]) is approaching maximum entry limit [ 4717.721455] Lustre: 26843:0:(osd_handler.c:463:osd_ldiskfs_add_entry()) lustre-MDT0000: directory (inode: 25372, FID: [0x200002b12:0x127cc:0x0]) has reached maximum entry limit [ 4717.722623] Lustre: 26843:0:(osd_internal.h:1133:osd_trans_exec_check()) lustre-MDT0000: opcode 7: used 6, used now 2, reserved 4 [ 4717.723435] Lustre: 26843:0:(osd_handler.c:1635:osd_trans_dump_creds()) create: 1/8/0, destroy: 0/0/0 [ 4717.724139] Lustre: 26843:0:(osd_handler.c:1642:osd_trans_dump_creds()) attr_set: 1/1/0, xattr_set: 4/143/0 [ 4717.724923] Lustre: 26843:0:(osd_handler.c:1652:osd_trans_dump_creds()) write: 3/4/6, punch: 0/0/0, quota 2/2/2 [ 4717.725682] Lustre: 26843:0:(osd_handler.c:1659:osd_trans_dump_creds()) insert: 2/33/0, delete: 0/0/0 [ 4717.726422] Lustre: 26843:0:(osd_handler.c:1666:osd_trans_dump_creds()) ref_add: 0/0/0, ref_del: 0/0/0 [ 4717.727126] LustreError: 26843:0:(osd_internal.h:1136:osd_trans_exec_check()) LBUG [ 4717.728097] Pid: 26843, comm: mdt00_001 [ 4717.728601] Call Trace: [ 4717.729285] [<ffffffffa01bf7b3>] libcfs_debug_dumpstack+0x53/0x80 [libcfs] [ 4717.729678] [<ffffffffa01bfd55>] lbug_with_loc+0x45/0xc0 [libcfs] [ 4717.730132] [<ffffffffa0ac1283>] osd_write+0x2f3/0x5b0 [osd_ldiskfs] [ 4717.730522] [<ffffffffa0346bd9>] dt_record_write+0x39/0x120 [obdclass] [ 4717.730917] [<ffffffffa03069df>] llog_osd_write_rec+0xc9f/0x17e0 [obdclass] [ 4717.731394] [<ffffffffa02f8842>] llog_write_rec+0xd2/0x520 [obdclass] [ 4717.731788] [<ffffffffa02fd220>] llog_cat_add_rec+0x220/0x8d0 [obdclass] [ 4717.732242] [<ffffffffa02f5f2a>] llog_add+0x7a/0x1a0 [obdclass] [ 4717.732624] [<ffffffffa0cde1e3>] osp_sync_add_rec.isra.16+0x273/0x9f0 [osp] [ 4717.733074] [<ffffffffa0ab4491>] ? osd_oi_delete+0x1b1/0x440 [osd_ldiskfs] [ 4717.733447] [<ffffffffa0ce1a98>] osp_sync_add+0x48/0x50 [osp] [ 4717.733826] [<ffffffffa0ccfae4>] osp_object_destroy+0xe4/0x220 [osp] [ 4717.734297] [<ffffffffa0c8e45b>] lod_sub_object_destroy+0x1bb/0x450 [lod] [ 4717.734688] [<ffffffffa0c826db>] lod_object_destroy+0x36b/0x6e0 [lod] [ 4717.735136] [<ffffffff810a848f>] ? down_write_nested+0x4f/0x80 [ 4717.735498] [<ffffffffa0b6506b>] mdo_destroy+0xab/0x150 [mdd] [ 4717.735879] [<ffffffffa0b75b76>] mdd_create+0xda6/0x1270 [mdd] [ 4717.736348] [<ffffffffa0bec925>] mdt_reint_open+0x2155/0x3160 [mdt] [ 4717.736743] [<ffffffffa0357dfc>] ? upcall_cache_get_entry+0x3ec/0x8e0 [obdclass] [ 4717.737480] [<ffffffffa0bd26a3>] ? ucred_set_jobid+0x53/0x70 [mdt] [ 4717.737870] [<ffffffffa0be1e40>] mdt_reint_rec+0x80/0x210 [mdt] [ 4717.738306] [<ffffffffa0bc53ea>] mdt_reint_internal+0x58a/0x970 [mdt] [ 4717.738695] [<ffffffffa0bc5932>] mdt_intent_reint+0x162/0x420 [mdt] [ 4717.739143] [<ffffffffa0bcfbec>] mdt_intent_policy+0x59c/0xb40 [mdt] [ 4717.739532] [<ffffffffa051b1fa>] ldlm_lock_enqueue+0x35a/0x940 [ptlrpc] [ 4717.739924] [<ffffffffa01cffb5>] ? cfs_hash_rw_unlock+0x15/0x20 [libcfs] [ 4717.740406] [<ffffffffa0544153>] ldlm_handle_enqueue0+0x9e3/0x1670 [ptlrpc] [ 4717.740820] [<ffffffffa056bce0>] ? lustre_swab_ldlm_request+0x0/0x30 [ptlrpc] [ 4717.741574] [<ffffffffa05c36f2>] tgt_enqueue+0x62/0x210 [ptlrpc] [ 4717.741965] [<ffffffffa05c7b25>] tgt_request_handle+0x925/0x1330 [ptlrpc] [ 4717.742357] [<ffffffffa0574db1>] ptlrpc_server_handle_request+0x231/0xac0 [ptlrpc] [ 4717.743052] [<ffffffffa0572968>] ? ptlrpc_wait_event+0xb8/0x370 [ptlrpc] [ 4717.743562] [<ffffffffa0578bc8>] ptlrpc_main+0xa58/0x1dd0 [ptlrpc] [ 4717.743994] [<ffffffff81706487>] ? _raw_spin_unlock_irq+0x27/0x50 [ 4717.744377] [<ffffffffa0578170>] ? ptlrpc_main+0x0/0x1dd0 [ptlrpc] [ 4717.744756] [<ffffffff810a2eda>] kthread+0xea/0xf0 [ 4717.745201] [<ffffffff810a2df0>] ? kthread+0x0/0xf0 [ 4717.745566] [<ffffffff8170fbd8>] ret_from_fork+0x58/0x90 [ 4717.745995] [<ffffffff810a2df0>] ? kthread+0x0/0xf0 [ 4717.746340] [ 4717.746924] Kernel panic - not syncing: LBUG
I tried to apply http://review.whamcloud.com/#/c/23486/ as well and it did not help.