[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 |
||
| Issue Links: |
|
||||||||||||||||||||||||
| Severity: | 3 | ||||||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||||||
| Description |
|
Cloned from
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 |
| Comment by Joseph Gmitter (Inactive) [ 25/Feb/19 ] |
|
Mike Pershin (mpershin@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33895 |
| 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/ |
| 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 |
| Comment by Gerrit Updater [ 03/Nov/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40301/ |