1
1

fcoll/two_phase: data sieving has to occur at offset 0 as well

data sieving has to occur for any offset provided that is larger
or equal zero for this implementation to work correctly.

Signed-off-by: Edgar Gabriel <egabriel@central.uh.edu>
Этот коммит содержится в:
Edgar Gabriel 2018-03-10 11:23:09 -06:00
родитель 0f345c068a
Коммит da640f98df

Просмотреть файл

@ -1068,7 +1068,7 @@ static int two_phase_exchage_data(mca_io_ompio_file_t *fh,
if (nprocs_recv){ if (nprocs_recv){
if (*hole){ if (*hole){
if (off > 0){ if (off >= 0){
fh->f_io_array = (mca_io_ompio_io_array_t *)malloc fh->f_io_array = (mca_io_ompio_io_array_t *)malloc
(sizeof(mca_io_ompio_io_array_t)); (sizeof(mca_io_ompio_io_array_t));
if (NULL == fh->f_io_array) { if (NULL == fh->f_io_array) {