[LU-12538] bad spinlock magic in sanity test 413b Created: 12/Jul/19  Updated: 17/Jul/19  Resolved: 17/Jul/19

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

Type: Bug Priority: Critical
Reporter: Oleg Drokin Assignee: Patrick Farrell (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

So now that we have this test running, it appears it triggers some uninitialized spinlock:

[ 4227.178380] Lustre: DEBUG MARKER: == sanity test 413b: mkdir with balanced space usage ================================================= 23:36:35 (1562902595)
[ 4227.257140] BUG: spinlock bad magic on CPU#2, mkdir/28359
[ 4227.258124]  lock: 0xffff8800c4e27270, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
[ 4227.259569] CPU: 2 PID: 28359 Comm: mkdir Kdump: loaded Tainted: G           OE  ------------   3.10.0-7.6-debug #5
[ 4227.261675] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 4227.262763] Call Trace:
[ 4227.263346]  [<ffffffff817b5bf2>] dump_stack+0x19/0x1b
[ 4227.264336]  [<ffffffff817b5cbe>] spin_bug+0xa1/0xa8
[ 4227.265252]  [<ffffffff813fb6e1>] do_raw_spin_lock+0x61/0xa0
[ 4227.266322]  [<ffffffff817bf97e>] _raw_spin_lock+0x1e/0x20
[ 4227.267524]  [<ffffffffa07dd10b>] lmv_locate_tgt_rr+0x3b/0x19b [lmv]
[ 4227.268604]  [<ffffffffa07d7a12>] lmv_locate_tgt+0x2b2/0x300 [lmv]
[ 4227.269586]  [<ffffffffa07d7b17>] lmv_create+0xb7/0x6d0 [lmv]
[ 4227.270465]  [<ffffffff81120b62>] ? from_kgid+0x12/0x20
[ 4227.271117]  [<ffffffffa0d746d9>] ? ll_prep_md_op_data+0x239/0x510 [lustre]
[ 4227.272318]  [<ffffffffa0d88c1f>] ll_new_node+0x21f/0xad0 [lustre]
[ 4227.273590]  [<ffffffffa0d89a0c>] ll_mkdir+0x8c/0x220 [lustre]
[ 4227.275029]  [<ffffffff81243347>] vfs_mkdir+0xb7/0x160
[ 4227.276032]  [<ffffffff812496ff>] SyS_mkdirat+0x6f/0xe0
[ 4227.276872]  [<ffffffff81249789>] SyS_mkdir+0x19/0x20
[ 4227.277619]  [<ffffffff817cae15>] system_call_fastpath+0x1c/0x21
[ 4227.278378]  [<ffffffff817cad61>] ? system_call_after_swapgs+0xae/0x146


 Comments   
Comment by Gerrit Updater [ 12/Jul/19 ]

Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35490
Subject: LU-12538 lod: Add missed qos_rr_init
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 1d4fd0bdb6670e3997988dc4ec482d6b367f7de0

Comment by Gerrit Updater [ 17/Jul/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35490/
Subject: LU-12538 lod: Add missed qos_rr_init
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 5e6a30cc2f344e38dd11ef3db1eb23c1705d8f32

Comment by Peter Jones [ 17/Jul/19 ]

Landed for 2.13

Generated at Sat Feb 10 02:53:28 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.