Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
3
-
9223372036854775807
Description
"fm_extent_count specifies the number of elements in the fm_extents[] array that can be used to return extents. If fm_extent_count is zero, then the fm_extents[] array is ignored (no extents will be returned), and the fm_mapped_extents count will hold the number of extents needed in fm_extents[] to hold the file’s current mapping."
https://www.kernel.org/doc/html/latest/filesystems/fiemap.html
In practice, depending on the state of the kernel thread stack, EINVAL can be returned to userspace even for simple single stripe files.
Details will follow.
Attachments
Issue Links
- is related to
-
LU-17110 Slab corruption using fiemap ioctl with fm_extent_count==0
- Resolved