DynamoFS
DynamoFS copied to clipboard
Read should handle gracefully when there are missing blocks to be retrieved
By definition of truncate, it can set the file size to be large than before. The new bytes are filled with zeros. In our implementation, we don't allocate missing blocks so we need to make sure that read treats missing blocks as filled with zeros.