[LU-13099] ll_set_inode()) Can not initialize inode warning Created: 23/Dec/19  Updated: 20/Feb/20  Resolved: 28/Jan/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.14.0, Lustre 2.12.4

Type: Bug Priority: Minor
Reporter: Vladimir Saveliev Assignee: Vladimir Saveliev
Resolution: Fixed Votes: 0
Labels: llnl

Issue Links:
Related
is related to LU-11681 sanity test 65i fails with 'find /mn... Resolved
is related to LU-13085 (namei.c:87:ll_set_inode()) Can not i... Resolved
is related to LU-13121 ll_update_lsm_md() may deadlock Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   
[75280.899955] LustreError: 30172:0:(namei.c:87:ll_set_inode()) Can not initialize inode [0x240000402:0x6:0x0] without object type: valid = 0x100000001
[75280.902870] LustreError: 30172:0:(llite_lib.c:2580:ll_prep_inode()) new_inode -fatal: rc -12

The above warnings seem to accompany statahead when remote objects are involved.
That is supposed to be fixed with 02b5a407081c ("LU-11681 lmv: disable remote file statahead"), but the patch contains a typo: it should compare lmv_tgt_desc's calculated for different fids.



 Comments   
Comment by Gerrit Updater [ 23/Dec/19 ]

Vladimir Saveliev (c17830@cray.com) uploaded a new patch: https://review.whamcloud.com/37089
Subject: LU-13099 lmv: disable statahead for remote obects
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 45baf5924bdc0c3db9b56ef8378cbaa7e0c0aae6

Comment by Malcolm Haak - NCI (Inactive) [ 09/Jan/20 ]

Is this getting backported to 2.12?

We're getting the same errors...

[55221.569572] LustreError: 5422:0:(namei.c:87:ll_set_inode()) Can not initialize inode [0x300000410:0x1d85b:0x0] without object type: valid = 0x100000001
[55221.584804] LustreError: 5422:0:(llite_lib.c:2426:ll_prep_inode()) new_inode -fatal: rc -12

Thanks.

Comment by Stephane Thiell [ 22/Jan/20 ]

Same kind of warnings with 2.13 clients. Likely harmless but annoying  

Jan 17 12:02:38 sh-101-60.int kernel: LustreError: 149212:0:(namei.c:87:ll_set_inode()) Can not initialize inode [0xe800013a0:0x1:0x0] without object type: valid = 0x100000001
Jan 17 12:02:38 sh-101-60.int kernel: LustreError: 149212:0:(llite_lib.c:2570:ll_prep_inode()) new_inode -fatal: rc -12
Jan 17 12:03:16 sh-101-60.int kernel: LustreError: 149452:0:(namei.c:87:ll_set_inode()) Can not initialize inode [0x200002ddb:0x1:0x0] without object type: valid = 0x100000001
Jan 17 12:03:16 sh-101-60.int kernel: LustreError: 149452:0:(namei.c:87:ll_set_inode()) Skipped 1 previous similar message
Jan 17 12:03:16 sh-101-60.int kernel: LustreError: 149452:0:(llite_lib.c:2570:ll_prep_inode()) new_inode -fatal: rc -12 
Comment by Olaf Faaland [ 22/Jan/20 ]

I agree, the patch should be considered for backport to 2.12.

Comment by Gerrit Updater [ 28/Jan/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37089/
Subject: LU-13099 lmv: disable statahead for remote objects
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 68330379b01cb6bf9b24235a80a4666d24c0e343

Comment by Peter Jones [ 28/Jan/20 ]

Landed for 2.14

Comment by Gerrit Updater [ 30/Jan/20 ]

Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37370
Subject: LU-13099 lmv: disable statahead for remote objects
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: f62d2c732069feb60ab7b283f2ef39e7cfcf50e7

Comment by Gerrit Updater [ 08/Feb/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37370/
Subject: LU-13099 lmv: disable statahead for remote objects
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 356fc1e703503bbf0bc33b8117ed04fbd5937edf

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