[LU-17013] FIEMAP_EXTENT_LAST is missed in some case Created: 03/Aug/23 Updated: 25/Sep/23 Resolved: 31/Aug/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Feng Lei | Assignee: | Feng Lei |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
Call ioctl(fd, FS_IOC_FIEMAP, fiemap) to get the extents of a file. Given the file has N extents and fiemap->fm_extent_count is filled with exactly N, the last extent will not have FIEMAP_EXTENT_LAST flag. |
| Comments |
| Comment by Gerrit Updater [ 03/Aug/23 ] |
|
"Feng Lei <flei@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51863 |
| Comment by Gerrit Updater [ 31/Aug/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51863/ |
| Comment by Gerrit Updater [ 25/Sep/23 ] |
|
"Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52494 |