[LU-2198] racer dying with osc_extent_find()) ASSERTION( lock->cll_descr.cld_mode >= CLM_WRITE Created: 16/Oct/12  Updated: 14/Nov/12  Resolved: 14/Nov/12

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): 5240

 Description   

Hit this twice with racer.

[  617.571650] LustreError: 13632:0:(osc_cache.c:612:osc_extent_find()) ASSERTION( lock->cll_descr.cld_mode >= CLM_WRITE ) failed: 
[  617.572295] LustreError: 13632:0:(osc_cache.c:612:osc_extent_find()) LBUG
[  617.572587] Pid: 13632, comm: dd
[  617.572806] 
[  617.572807] Call Trace:
[  617.574463]  [<ffffffffa0431915>] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
[  617.574779]  [<ffffffffa0431f27>] lbug_with_loc+0x47/0xb0 [libcfs]
[  617.575076]  [<ffffffffa0a4dc60>] osc_extent_find+0x1c60/0x1ce0 [osc]
[  617.575360]  [<ffffffffa0a3e971>] ? osc_enter_cache_try.clone.0+0x251/0x2e0 [osc]
[  617.575833]  [<ffffffff812797dd>] ? pointer+0x8d/0x830
[  617.576122]  [<ffffffff814faf3e>] ? _spin_unlock+0xe/0x10
[  617.576387]  [<ffffffffa0a485b5>] ? osc_enter_cache+0x345/0xcb0 [osc]
[  617.576677]  [<ffffffff812797dd>] ? pointer+0x8d/0x830
[  617.576927]  [<ffffffffa0a4f981>] osc_queue_async_io+0x7c1/0x14a8 [osc]
[  617.577212]  [<ffffffff81277c0c>] ? put_dec+0x10c/0x110
[  617.577460]  [<ffffffff81277efe>] ? number+0x2ee/0x320
[  617.577729]  [<ffffffff81277e32>] ? number+0x222/0x320
[  617.577988]  [<ffffffff810385d8>] ? pvclock_clocksource_read+0x58/0xd0
[  617.578260]  [<ffffffff8127a646>] ? vsnprintf+0x2b6/0x5f0
[  617.578526]  [<ffffffffa0a36029>] osc_page_cache_add+0xc9/0x1d0 [osc]
[  617.579880]  [<ffffffffa061bb67>] cl_page_cache_add+0x77/0x250 [obdclass]
[  617.581859]  [<ffffffffa0adae35>] lov_page_cache_add+0x85/0x210 [lov]
[  617.582196]  [<ffffffffa061bb67>] cl_page_cache_add+0x77/0x250 [obdclass]
[  617.582521]  [<ffffffffa06180b9>] ? cl_env_hops_keycmp+0x19/0x70 [obdclass]
[  617.583151]  [<ffffffffa0447fcd>] ? cfs_hash_bd_lookup_intent+0xdd/0x130 [libcfs]
[  617.583676]  [<ffffffffa0e8264d>] vvp_io_commit_write+0x3ad/0x590 [lustre]
[  617.584050]  [<ffffffffa062b64d>] cl_io_commit_write+0xad/0x1e0 [obdclass]
[  617.584353]  [<ffffffffa0e5830e>] ll_commit_write+0xee/0x360 [lustre]
[  617.584650]  [<ffffffffa0e6f8d0>] ll_write_end+0x30/0x60 [lustre]
[  617.584924]  [<ffffffff81112d8a>] generic_file_buffered_write+0x18a/0x300
[  617.585210]  [<ffffffff8106fea7>] ? current_fs_time+0x27/0x30
[  617.585476]  [<ffffffff811147e0>] __generic_file_aio_write+0x250/0x480
[  617.585777]  [<ffffffff81114a7f>] generic_file_aio_write+0x6f/0xe0
[  617.586062]  [<ffffffffa0e830dc>] vvp_io_write_start+0x9c/0x240 [lustre]
[  617.586368]  [<ffffffffa062809a>] cl_io_start+0x6a/0x140 [obdclass]
[  617.586680]  [<ffffffffa062c884>] cl_io_loop+0xb4/0x1b0 [obdclass]
[  617.586958]  [<ffffffffa0e3005b>] ll_file_io_generic+0x42b/0x550 [lustre]
[  617.587248]  [<ffffffffa0e30f4c>] ll_file_aio_write+0x13c/0x2c0 [lustre]
[  617.587822]  [<ffffffffa0e31239>] ll_file_write+0x169/0x2a0 [lustre]
[  617.588133]  [<ffffffff8117b2e8>] vfs_write+0xb8/0x1a0
[  617.588391]  [<ffffffff8117bbb1>] sys_write+0x51/0x90
[  617.588660]  [<ffffffff8100b0f2>] system_call_fastpath+0x16/0x1b


 Comments   
Comment by Johann Lombardi (Inactive) [ 14/Nov/12 ]

Jinshan, any thought on this one?

Comment by Jinshan Xiong (Inactive) [ 14/Nov/12 ]

this should have been fixed in LU-2170

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