HDFGroup / vol-cache

HDF5 Cache VOL connector for caching data on fast storage layers and moving data asynchronously to the parallel file system to hide I/O overhead.
https://vol-cache.readthedocs.io
BSD 3-Clause "New" or "Revised" License
16 stars 8 forks source link

Strange unused code #8

Closed gsjaardema closed 3 years ago

gsjaardema commented 3 years ago

Not sure what this code is supposed to be doing in H5VLcache_ext.c (around line 4334)

      char *buf = (char *) malloc(1000);
      MPI_Win win;
      for(int i=0; i<1000; i++) buf[i]='0';
      size_t sst=1000;

The win, buf and sst are not used anywhere else in this routine.

zhenghh04 commented 3 years ago

Removed these four lines. These were used for some debug purpose and I forgot to clean them up. Thanks!