[LU-17459] lod_statfs_and_check()) ASSERTION( desc->ld_active_tgt_count < desc->ld_tgt_count ) failed Created: 23/Jan/24  Updated: 27/Jan/24

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

Type: Improvement Priority: Minor
Reporter: Alex Zhuravlev Assignee: Alex Zhuravlev
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
is related to LU-17448 LBUG in racer with layout change Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   
[ 3313.033227] LustreError: 8038:0:(lod_qos.c:137:lod_statfs_and_check()) ASSERTION( desc->ld_active_tgt_count < desc->ld_tgt_count ) failed: active tgt count 2, tgt nr 2
[ 3313.041265] LustreError: 8038:0:(lod_qos.c:137:lod_statfs_and_check()) LBUG
[ 3313.041315] Pid: 8038, comm: mdt00_010 4.18.0 #4 SMP Fri Dec 22 11:13:58 UTC 2023
[ 3313.041360] Call Trace TBD:
[ 3313.041391] [<0>] libcfs_call_trace+0x5e/0x80 [libcfs]
[ 3313.041437] [<0>] lbug_with_loc+0x3a/0x70 [libcfs]
[ 3313.041473] [<0>] lod_statfs_and_check+0x553/0x5a0 [lod]
[ 3313.041539] [<0>] lod_qos_prep_create+0x261c/0x31c0 [lod]
[ 3313.045615] [<0>] lod_declare_instantiate_components+0x95/0x200 [lod]
[ 3313.045698] [<0>] lod_declare_layout_change+0x2218/0x3310 [lod]
[ 3313.045760] [<0>] mdd_declare_layout_change+0x41/0x100 [mdd]
[ 3313.045826] [<0>] mdd_layout_change+0xee3/0x21c0 [mdd]
[ 3313.045872] [<0>] mdt_layout_change+0x23d/0x4a0 [mdt]
[ 3313.045947] [<0>] mdt_intent_layout+0x7ae/0xdb0 [mdt]
[ 3313.046008] [<0>] mdt_intent_policy+0x233/0x10f0 [mdt]
[ 3313.046064] [<0>] ldlm_lock_enqueue+0x449/0xae0 [ptlrpc]
[ 3313.046223] [<0>] ldlm_handle_enqueue+0x40d/0x18c0 [ptlrpc]
[ 3313.046353] [<0>] tgt_enqueue+0xa3/0x220 [ptlrpc]
[ 3313.046475] [<0>] tgt_request_handle+0x36c/0x1aa0 [ptlrpc]


 Comments   
Comment by Gerrit Updater [ 23/Jan/24 ]

"Alex Zhuravlev <bzzz@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53783
Subject: LU-17459 lod: incorrect assert in lod_statfs_and_check()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ae5482f01150555a74f0ee787d9326c32f85a802

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