mpifileutils icon indicating copy to clipboard operation
mpifileutils copied to clipboard

libmfu: optimize sparse writes during mfu_flist_copy

Open adammoody opened this issue 5 years ago • 0 comments

When executing an mfu_flist_copy to copy files with the sparse option enabled, we currently detect blocks of data that are all zero and skip writing those portions. If we're using large blocks, we could look to optimize this further.

For example, what if we're using 64MB size blocks and only the first byte in the 64MB is non-zero. We could just write that one byte and avoid writing the remaining (64MB - 1) bytes.

adammoody avatar Jul 19 '19 18:07 adammoody