[LU-5492] osc_lock.c:1165:osc_lock_enqueue()) ASSERTION( ols->ols_state == OLS_NEW ) failed: Impossible state: 6 Created: 15/Aug/14  Updated: 12/Mar/16  Resolved: 12/Mar/16

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

Type: Bug Priority: Minor
Reporter: Mahmoud Hanafi Assignee: Zhenyu Xu
Resolution: Fixed Votes: 0
Labels: None
Environment:

Crash on 2.4.3 client (tag: 2.4.3-3nasC)
Our source is at https://github.com/jlan/lustre-nas


Issue Links:
Related
is related to LU-4692 (osc_lock.c:1204:osc_lock_enqueue()) ... Resolved
is related to LU-5599 Lustre Error: Impossible state: 4 Resolved
Severity: 3
Rank (Obsolete): 15331

 Description   

Client hit LBUG with UNZIP

[546504.674928] LustreError: 96112:0:(osc_lock.c:1165:osc_lock_enqueue()) ASSERTION( ols->ols_state == OLS_NEW ) failed: Impossible state: 6
[546504.712107] LustreError: 96112:0:(osc_lock.c:1165:osc_lock_enqueue()) LBUG
[546504.732921] Pid: 96112, comm: unzip
[546504.743612] 
[546504.743612] Call Trace:
[546504.743627]  [<ffffffff81004935>] dump_trace+0x75/0x310
[546504.743646]  [<ffffffffa073682a>] libcfs_debug_dumpstack+0x4a/0x70 [libcfs]
[546504.743672]  [<ffffffffa0736d5e>] lbug_with_loc+0x3e/0xb0 [libcfs]
[546504.743686]  [<ffffffffa0b63551>] osc_lock_enqueue+0x3f1/0x4c0 [osc]
[546504.743729]  [<ffffffffa0896722>] cl_enqueue_kick+0x62/0x150 [obdclass]
[546504.743778]  [<ffffffffa0899a31>] cl_enqueue_try+0xc1/0x210 [obdclass]
[546504.743820]  [<ffffffffa0bf9e2d>] lov_lock_enqueue_one+0x4d/0x170 [lov]
[546504.743840]  [<ffffffffa0bfc4db>] lov_lock_enqueue+0x16b/0x3e0 [lov]
[546504.743869]  [<ffffffffa0896722>] cl_enqueue_kick+0x62/0x150 [obdclass]
[546504.743914]  [<ffffffffa0899a31>] cl_enqueue_try+0xc1/0x210 [obdclass]
[546504.743960]  [<ffffffffa089a7e7>] cl_enqueue_locked+0x77/0x1e0 [obdclass]
[546504.744006]  [<ffffffffa089b4b9>] cl_lock_request+0x79/0x280 [obdclass]
[546504.744053]  [<ffffffffa08a0623>] cl_lockset_lock_one+0x53/0x190 [obdclass]
[546504.744102]  [<ffffffffa08a0a71>] cl_lockset_lock+0x51/0x1b0 [obdclass]
[546504.744150]  [<ffffffffa08a0ca8>] cl_io_lock+0xd8/0x150 [obdclass]
[546504.744197]  [<ffffffffa08a0db2>] cl_io_loop+0x92/0x190 [obdclass]
[546504.744245]  [<ffffffffa0c7fd91>] ll_file_io_generic+0x461/0x600 [lustre]
[546504.744262]  [<ffffffffa0c80166>] ll_file_aio_write+0x236/0x290 [lustre]
[546504.744278]  [<ffffffffa0c81373>] ll_file_write+0x203/0x290 [lustre]
[546504.744288]  [<ffffffff8115b03e>] vfs_write+0xce/0x140
[546504.744292]  [<ffffffff8115b1b3>] sys_write+0x53/0xa0
[546504.744299]  [<ffffffff81479c92>] system_call_fastpath+0x16/0x1b
[546504.744323]  [<00007fffed4370b0>] 0x7fffed4370b0
[546504.744324] 


 Comments   
Comment by Peter Jones [ 15/Aug/14 ]

Bobijam

Could you please advise on this one?

Thanks

Peter

Comment by Zhenyu Xu [ 16/Aug/14 ]

please apply these patches

http://review.whamcloud.com/#/c/9783/
http://review.whamcloud.com/#/c/9194/
http://review.whamcloud.com/#/c/9876/

Comment by Mahmoud Hanafi [ 10/Mar/16 ]

Close issue has been resolved.

Comment by John Fuchs-Chesney (Inactive) [ 12/Mar/16 ]

Thanks Mahmoud.

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