[LU-11579] cl_file_inode_init()) ASSERTION(inode->i_state & (1 << 3) ) failed: Created: 29/Oct/18  Updated: 15/Jan/20  Resolved: 15/Feb/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.5
Fix Version/s: Lustre 2.13.0, Lustre 2.10.7, Lustre 2.12.1

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

Lustre 2.10.5, ZFS 0.6.5.11, Kernel 3.10.0-862.9.1.el7_lustre.x86_64


Issue Links:
Related
is related to LU-13143 detect console spew during (interop) ... Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Clients crashed when accessing some files that are striped over OSTs that were removed:

LustreError: 11963:0:(lov_ea.c:235:lsme_unpack()) fsname-clilov_UUID: OST index 25 missing
LustreError: 11963:0:(lov_ea.c:235:lsme_unpack()) Skipped 3 previous similar messages
Lustre: 11963:0:(lov_pack.c:61:lov_dump_lmm_common()) objid 0xdf4e:311367, magic 0x0bd10bd0, pattern 0x1
Lustre: 11963:0:(lov_pack.c:65:lov_dump_lmm_common()) stripe_size 1048576, stripe_count 4, layout_gen 0
Lustre: 11963:0:(lov_pack.c:84:lov_dump_lmm_objects()) stripe 0 idx 10 subobj 0x0:151194471
Lustre: 11963:0:(lov_pack.c:84:lov_dump_lmm_objects()) stripe 1 idx 12 subobj 0x0:152477530
Lustre: 11963:0:(lov_pack.c:84:lov_dump_lmm_objects()) stripe 2 idx 25 subobj 0x0:151589797
Lustre: 11963:0:(lov_pack.c:84:lov_dump_lmm_objects()) stripe 3 idx 2 subobj 0x0:150332564
LustreError: 11963:0:(lov_object.c:244:lov_init_raid0()) fsname-clilov-ffff92ec34f4e000: OST 0019 is not initialized
LustreError: 11963:0:(lov_object.c:244:lov_init_raid0()) Skipped 3 previous similar messages
LustreError: 11963:0:(lcommon_cl.c:181:cl_file_inode_init()) Failure to initialize cl object [0x20004c047:0xdf4e:0x0]: -5
LustreError: 11963:0:(lcommon_cl.c:181:cl_file_inode_init()) Skipped 3 previous similar messages
LustreError: 11963:0:(llite_lib.c:2328:ll_prep_inode()) new_inode -fatal: rc -5
LustreError: 37233:0:(lcommon_cl.c:160:cl_file_inode_init()) ASSERTION(inode->i_state & (1 << 3) ) failed
LustreError: 37233:0:(lcommon_cl.c:160:cl_file_inode_init()) LBUG
Pid: 37233, comm: ll_sa_4709 3.10.0-862.14.4.el7.x86_64 #1 SMP 
Call Trace:
libcfs_call_trace+0x8c/0xc0 [libcfs]
lbug_with_loc+0x4c/0xa0 [libcfs]
cl_file_inode_init+0x2ac/0x300 [lustre]
ll_update_inode+0x315/0x600 [lustre]
ll_iget+0x163/0x350 [lustre]
ll_prep_inode+0x232/0xc80 [lustre]
sa_handle_callback+0x3a4/0xf70 [lustre]
ll_statahead_thread+0x40e/0x2080 [lustre]
kthread+0xd1/0xe0
 Kernel panic - not syncing: LBUG


 Comments   
Comment by Gerrit Updater [ 29/Oct/18 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33505
Subject: LU-11579 llite: remove cl_file_inode_init() LASSERT
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f9f5f8b11a642b11d25dc8a03baa342454cbb131

Comment by Gerrit Updater [ 29/Oct/18 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33506
Subject: LU-11579 llite: remove cl_file_inode_init() LASSERT
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: 82c8bec311f5c3f719a5fbfdcccc679a51485cf6

Comment by Gerrit Updater [ 30/Oct/18 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33513
Subject: LU-11579 lov: quiet lov_dump_lmm_ console messages
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 49a993aca10c0281c115845707dd1e27361afaf7

Comment by Gerrit Updater [ 04/Jan/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33513/
Subject: LU-11579 lov: quiet lov_dump_lmm_ console messages
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: d9ef75eb8226f22660a7e57241125956daf7fde1

Comment by Gerrit Updater [ 16/Jan/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33505/
Subject: LU-11579 llite: remove cl_file_inode_init() LASSERT
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 0baa3eb1a4abe6e1e882cf03b0edfabda20142b7

Comment by Peter Jones [ 16/Jan/19 ]

Landed for 2.13

Comment by Gerrit Updater [ 28/Jan/19 ]

Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34122
Subject: LU-11579 lov: quiet lov_dump_lmm_ console messages
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: 92743f1aa4f8bd8762b2be6e5c4ee4fce2d65038

Comment by Gerrit Updater [ 15/Feb/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34122/
Subject: LU-11579 lov: quiet lov_dump_lmm_ console messages
Project: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: e0a3688fffd9f6754639926c7cd76fe4f976b917

Comment by Gerrit Updater [ 15/Feb/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33506/
Subject: LU-11579 llite: remove cl_file_inode_init() LASSERT
Project: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: 350f2cbdb1a5931f2b0be5a7aa802930a03420e8

Comment by Gerrit Updater [ 25/Feb/19 ]

Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34302
Subject: LU-11579 llite: remove cl_file_inode_init() LASSERT
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: fb5beb54b251669978d850791e56c0e7bdfccd7d

Comment by Gerrit Updater [ 19/Mar/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34302/
Subject: LU-11579 llite: remove cl_file_inode_init() LASSERT
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: e8ea17ff9235b8b55336e443acda3d3171fe1e7d

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