Skip to content

Commit 169afcd

Browse files
authored
Merge pull request open-mpi#4902 from edgargabriel/pr/v3.1.x-two_phase_data_sieving_fix
fcoll/two_phase: data sieving has to occur at offset 0 as well
2 parents 13edb71 + 55a56e7 commit 169afcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ static int two_phase_exchage_data(mca_io_ompio_file_t *fh,
10611061

10621062
if (nprocs_recv){
10631063
if (*hole){
1064-
if (off > 0){
1064+
if (off >= 0){
10651065
fh->f_io_array = (mca_io_ompio_io_array_t *)malloc
10661066
(sizeof(mca_io_ompio_io_array_t));
10671067
if (NULL == fh->f_io_array) {

0 commit comments

Comments
 (0)