[LU-14082] Use l_req_mode while lock cleanup Created: 28/Oct/20  Updated: 05/Jan/21  Resolved: 05/Jan/21

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

Type: Bug Priority: Minor
Reporter: Yang Sheng Assignee: Yang Sheng
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

LustreError: 14562:0:(ldlm_lock.c:354:ldlm_lock_destroy_internal()) ### lock still has references ns: ?? lock: ffff88342aa07200/0x9b92ad3407bea22a lrc: 4/0,1 mode: --/PW res: ?? rrc=?? type: ??? flags: 0x10106400000000 nid: local remote: 0x5248822d3123ac19 expref: -99 pid: 14515 timeout: 0 lvb_type: 0
] LustreError: 14562:0:(ldlm_lock.c:355:ldlm_lock_destroy_internal()) LBUG
Pid: 14562, comm: ll_imp_inval 3.10.0-693.21.1.el7.x86_64 #1 SMP
Call Trace:
[<ffffffff8103a212>] save_stack_trace_tsk+0x22/0x40
[<ffffffffc09c27cc>] libcfs_call_trace+0x8c/0xc0 [libcfs]
[<ffffffffc09c287c>] lbug_with_loc+0x4c/0xa0 [libcfs]
[<ffffffffc20084a9>] ldlm_lock_destroy_internal+0x269/0x2a0 [ptlrpc]
[<ffffffffc2008a7b>] ldlm_lock_destroy_nolock+0x2b/0x110 [ptlrpc]
[<ffffffffc20295a5>] ldlm_flock_completion_ast+0x4f5/0x1080 [ptlrpc]
[<ffffffffc201100e>] cleanup_resource+0x18e/0x370 [ptlrpc]
[<ffffffffc2011243>] ldlm_resource_clean+0x53/0x60 [ptlrpc]
[<ffffffffc09d3db0>] cfs_hash_for_each_relax+0x250/0x450 [libcfs]
[<ffffffffc09d7145>] cfs_hash_for_each_nolock+0x75/0x1c0 [libcfs]
[<ffffffffc200fb10>] ldlm_namespace_cleanup+0x30/0xc0 [ptlrpc]
[<ffffffffc0aa8416>] mdc_import_event+0x1b6/0xa20 [mdc]
[<ffffffffc205b010>] ptlrpc_invalidate_import+0x220/0x8f0 [ptlrpc]
[<ffffffffc205cb48>] ptlrpc_invalidate_import_thread+0x48/0x2b0 [ptlrpc]
[<ffffffff810b4031>] kthread+0xd1/0xe0



 Comments   
Comment by Gerrit Updater [ 28/Oct/20 ]

Yang Sheng (ys@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40433
Subject: LU-14082 ldlm: Use req_mode while lock cleanup
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e55646a56b3d146cf28b17842aff6a19c2be1143

Comment by Gerrit Updater [ 05/Jan/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40433/
Subject: LU-14082 ldlm: Use req_mode while lock cleanup
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a11c18cbab00d0300b8f025b45090b08ba748f5e

Comment by Peter Jones [ 05/Jan/21 ]

Landed for 2.14

Generated at Sat Feb 10 03:06:41 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.