Skip to content

Commit c1b995a

Browse files
authored
Merge pull request #11197 from edgargabriel/pr/lustre-info-swap-v5.0
fs/lustre: fix assignment of info objects to lustre args
2 parents 9522acd + fd509df commit c1b995a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mca/fs/lustre/fs_lustre_file_open.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ mca_fs_lustre_file_open (struct ompi_communicator_t *comm,
7676
perm = mca_fs_base_get_file_perm(fh);
7777
amode = mca_fs_base_get_file_amode(fh->f_rank, access_mode);
7878

79-
opal_info_get (info, "striping_factor", &stripe_str, &flag);
79+
opal_info_get (info, "striping_unit", &stripe_str, &flag);
8080
if ( flag ) {
8181
sscanf ( stripe_str->string, "%d", &fs_lustre_stripe_size );
8282
OBJ_RELEASE(stripe_str);
@@ -90,7 +90,7 @@ mca_fs_lustre_file_open (struct ompi_communicator_t *comm,
9090
}
9191
}
9292

93-
opal_info_get (info, "striping_unit", &stripe_str, &flag);
93+
opal_info_get (info, "striping_factor", &stripe_str, &flag);
9494
if ( flag ) {
9595
sscanf ( stripe_str->string, "%d", &fs_lustre_stripe_width );
9696
OBJ_RELEASE(stripe_str);

0 commit comments

Comments
 (0)