[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:
Duplicate
Related
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
Subject: LU-17013 lov: fill FIEMAP_EXTENT_LAST flag
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e64b89e94926e4fe98011db83a79acb81b8d9ea5

Comment by Gerrit Updater [ 31/Aug/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51863/
Subject: LU-17013 lov: fill FIEMAP_EXTENT_LAST flag
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b1739ba3fadcc7cf0f330f6984bd51d3d801247d

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
Subject: LU-17013 lov: fill FIEMAP_EXTENT_LAST flag
Project: fs/lustre-release
Branch: b2_15
Current Patch Set: 1
Commit: 0566446a4208c641022242d0ef1409383f5433f6

Generated at Sat Feb 10 03:31:53 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.