Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
Correct return value should be the end of file. LOV skips hole offset is it is equal to component end, because component 'end' value is actually the next component 'start' and belongs to it, so LOV expects the next component to continue and report an offset. This doesn't work if next component is not initialized, i.e. file ends exactly at the component boundary, so the next component is not involved in IO even.
To solve that issue, LOV should remember reported hole offsets if they are at the component end and report the maximum one if neither component returned valid offset
Attachments
Issue Links
- is related to
-
LU-10810 SEEK_HOLE and SEEK_DATA support for lseek
- Resolved