Skip to content

Commit 893cf0d

Browse files
author
Shane Snyder
committed
forgot to set num_stripes field in upconversion
1 parent a0f905d commit 893cf0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

darshan-util/darshan-lustre-logutils.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ static int darshan_log_get_lustre_record_v1(darshan_fd fd, void** lustre_buf_p)
210210
/* copy over base record first */
211211
memcpy(rec, &fixed_record, sizeof(struct darshan_base_record));
212212
rec->num_comps = 1; // only 1 component for old Lustre records
213+
rec->num_stripes = stripe_count; // newer records have separate field for total stripes
213214
rec->comps = (struct darshan_lustre_component *)
214215
((void *)rec + sizeof(struct darshan_lustre_record));
215216
rec->ost_ids = (OST_ID *)

0 commit comments

Comments
 (0)