[LU-17482] short read does not set ki_pos correctly Created: 30/Jan/24 Updated: 02/Feb/24 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Zhenyu Xu | Assignee: | Zhenyu Xu |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
00000080:00020000:3.0:1706058118.952841:0:7094:0:(file.c:2098:file_read_confine_iter()) event.log.20240123T162623_0: read [198356992, 198361088] over eof, kms 198356992, file_size 198356992. 00000080:00020000:3.0:1706058118.952904:0:7094:0:(file.c:2098:file_read_confine_iter()) event.log.20240123T162623_0: read [198361088, 198365184] over eof, kms 198362740, file_size 198362740. short read does not set ki_pos correctly, and jumps to wrong position at next read as the file being appended by others. |
| Comments |
| Comment by Zhenyu Xu [ 30/Jan/24 ] |
|
https://review.whamcloud.com/c/fs/lustre-release/+/53827/ LU-17482 llite: short read could mess up next read offset When read reaches EOF, it could read data from stale pagecache, but |