[LU-12014] check correct size in ll_dom_finish_open() Created: 25/Feb/19  Updated: 03/Nov/20  Resolved: 07/Jun/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.12.0
Fix Version/s: Lustre 2.13.0, Lustre 2.12.6

Type: Bug Priority: Major
Reporter: Joseph Gmitter (Inactive) Assignee: Mikhail Pershin
Resolution: Fixed Votes: 0
Labels: arm
Environment:

Lustre Build: https://build.whamcloud.com/job/lustre-master/3811
Distro/Arch: RHEL7.5/aarch64 (client), RHEL7.5/x86_64 (server)


Issue Links:
Cloners
Clones LU-11595 sanity-dom sanityn test 11: LBUG: (fi... Resolved
Duplicate
is duplicated by LU-11627 LustreError: 86028:0:(file.c:454:ll_d... Resolved
Related
is related to LU-10300 Can the Lustre 2.10.x clients support... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Cloned from LU-11595 to capture a related patch being added to that already resolved ticket.

 

The check in ll_dom_finish_open() for data end shouldn't use i_size for comparision because it may be not updated yet with just returned data from server. Use size value in mdt_body from reply for that check.



 Comments   
Comment by Joseph Gmitter (Inactive) [ 25/Feb/19 ]

Cloned from LU-11595 to capture the new patch pushed there after the ticket was closed for 2.12.

Comment by Joseph Gmitter (Inactive) [ 25/Feb/19 ]

Mike Pershin (mpershin@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33895
Subject: LU-11595 llite: check correct size in ll_dom_finish_open()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 7140c356de05e93834ec2f1f7156f17cc771826f

Comment by James A Simmons [ 03/Jun/19 ]

Is this ticket resolved?

Comment by Gerrit Updater [ 07/Jun/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33895/
Subject: LU-12014 llite: check correct size in ll_dom_finish_open()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 7b9fd576f7de7d4bfa40c85d06bb224e7a29c829

Comment by Peter Jones [ 07/Jun/19 ]

Landed for 2.13

Comment by Stephane Thiell [ 07/Jun/19 ]

Could this patch be considered for LTS12? thanks

Comment by Gerrit Updater [ 19/Oct/20 ]

Mike Pershin (mpershin@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40301
Subject: LU-12014 llite: check correct size in ll_dom_finish_open()
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: 6c1bf839a206189deae00bb3e10ab1e740ca3fa9

Comment by Gerrit Updater [ 03/Nov/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40301/
Subject: LU-12014 llite: check correct size in ll_dom_finish_open()
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: af49e96b95909f470757890f34da760b8af3c9a8

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