Skip to content

Commit 34c62df

Browse files
authored
Merge pull request pmodels#7363 from roblatham00/more-default-hints
romio: Add more hints to default list of hints Approved-by: Hui Zhou
2 parents 34c92f0 + a055063 commit 34c62df

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ void ADIOI_GEN_SetInfo(ADIO_File fd, MPI_Info users_info, int *error_code)
124124
/* still to do: tune this a bit for a variety of file systems. there's
125125
* no good default value so just leave it unset */
126126
fd->hints->min_fdomain_size = 0;
127+
/* incorporate this hint into the default hints: otherwise,
128+
* non-aggregators might have this hint set while aggregators opening a
129+
* traditional unix or gpfs file might not, and the "check if all same"
130+
* logic below won't work properly. */
131+
ADIOI_Info_set(info, "striping_unit", "0");
127132
fd->hints->striping_unit = 0;
128133

129134
/* temporally synchronizing flush: I think this is going to be a useful

0 commit comments

Comments
 (0)