-
We have a snippet of code that is intended to process sparse holes in files with a loop like this:
Seems to work fine on Linux, but in Windows, on a newly allocated 4096 byte file, we are getting back that there are 64 extents in the file. The first one looks correct, but the others all have 0xFFFFFFFF for both the beginning and length of the extent. Is this expected? Should we be ignoring any entries in the vector with 0xFFFFFFFF? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
That's absolutely a bug. We never truncate the output vector to |
Beta Was this translation helpful? Give feedback.
That's absolutely a bug. We never truncate the output vector to
bytesout
at https://github.com/ned14/llfio/blob/develop/include/llfio/v2.0/detail/impl/windows/file_handle.ipp#L388