Skip to content

Commit cb840f4

Browse files
committed
fix bug in logfs file view
the logfs write will take into account the type, but it won't know anything about the displacement unless we update it here
1 parent 75e8639 commit cb840f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mpi/romio/adio/common/ad_set_view.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ void ADIO_Set_view(ADIO_File fd, ADIO_Offset disp, MPI_Datatype etype,
6161
if (filetype_is_contig) fd->fp_ind = disp;
6262
else {
6363
if (fd->file_system == ADIO_LOGFS) {
64-
/* skip this processing for logfs. A logfs write will already take
64+
fd->fp_ind = disp;
65+
/* skip the type processing for logfs. A logfs write will already take
6566
* into account the lower bound markers */
6667
;
6768
} else {

0 commit comments

Comments
 (0)