[LU-15201] osp_invalidate() calling into mutex with spinlock held Created: 09/Nov/21  Updated: 09/Nov/21

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Upstream
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Alex Zhuravlev Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
is related to LU-13494 osp_invalidate_request() races with o... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   
[ 4690.399570] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:69
[ 4690.399725] in_atomic(): 1, irqs_disabled(): 0, pid: 38199, name: umount
[ 4690.399843] INFO: lockdep is turned off.
[ 4690.399917] CPU: 0 PID: 38199 Comm: umount Tainted: P        W  O     --------- ---  4.18.0 #45
[ 4690.400083] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 4690.400203] Call Trace:
[ 4690.400259]  dump_stack+0x85/0xc0
[ 4690.400337]  ___might_sleep.cold.15+0xac/0xbc
[ 4690.400434]  down_write+0x24/0xb0
[ 4690.400519]  osp_invalidate+0xf2/0x1e0 [osp]
[ 4690.400632]  osp_trans_stop_cb+0x15e/0x180 [osp]
[ 4690.400739]  osp_trans_callback+0x97/0xb0 [osp]
[ 4690.400845]  osp_update_fini.isra.6+0xdc/0x1d0 [osp]
[ 4690.400951]  osp_process_config+0x3a2/0x570 [osp]
[ 4690.401067]  lod_sub_process_config+0x7b/0x1e0 [lod]
[ 4690.401177]  lod_process_config+0x2fa/0x1280 [lod]
[ 4690.401292]  mdd_process_config+0xa0/0x650 [mdd]
[ 4690.401417]  mdt_device_fini+0x328/0xec0 [mdt]

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