Commit 085aaaa7 authored by Glenn K. Lockwood's avatar Glenn K. Lockwood

fixed bug that prevented parser from reading in record with striping > 1 but < 8

parent b51c463b
......@@ -78,7 +78,7 @@ static int darshan_log_get_lustre_record(darshan_fd fd, void* lustre_buf,
);
if(ret < 0)
return(-1);
else if(ret < sizeof(struct darshan_lustre_record))
else if(ret < (rec->counters[LUSTRE_STRIPE_WIDTH] - 1)*sizeof(OST_ID))
return(0);
/* swap bytes if necessary */
if ( fd->swap_flag )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment