Skip to content

Commit

Permalink
libmfu: do not overwrite block_size during flist_copy
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Moody <moody20@llnl.gov>
  • Loading branch information
adammoody committed Jun 21, 2019
1 parent 3742e1c commit 6f3dc05
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/common/mfu_flist_copy.c
Original file line number Diff line number Diff line change
Expand Up @@ -2264,9 +2264,6 @@ int mfu_flist_copy(mfu_flist src_cp_list, int numpaths,
/* TODO: consider file system striping params here */
/* hard code some configurables for now */

/* Set default block size */
mfu_copy_opts->block_size = FD_BLOCK_SIZE;

/* allocate buffer to read/write files, aligned on 1MB boundaraies */
size_t alignment = 1024*1024;
mfu_copy_opts->block_buf1 = (char*) MFU_MEMALIGN(mfu_copy_opts->block_size, alignment);
Expand Down

0 comments on commit 6f3dc05

Please sign in to comment.