Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ompi/mca/fs/gpfs/fs_gpfs_file_set_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,12 @@ int mca_fs_gpfs_file_set_info(ompio_file_t *fh, struct ompi_info_t *info)
gpfs_hint_SetReplication.gpfsSetReplication.maxMetadataReplicas = atoi(token);
gpfs_hint_SetReplication.gpfsSetReplication.dataReplicas = atoi(token);
gpfs_hint_SetReplication.gpfsSetReplication.maxDataReplicas = atoi(token);
#ifdef GPFS_FCNTL_SET_REPLICATIONX /* GPFS >= 5.2.3-0, see #13313 */
gpfs_hint_SetReplication.gpfsSetReplication.perfReplicas = 0;
#else
gpfs_hint_SetReplication.gpfsSetReplication.reserved = 0;
#endif

free(info_str_dup);

rc = gpfs_fcntl(gpfs_file_handle, &gpfs_hint_SetReplication);
Expand Down
Loading