Commit 32788e87 authored by Paul Coffman's avatar Paul Coffman Committed by Rob Latham
Browse files

romio gpfs: select correct read buffer addendum



The original fix for 'romio gpfs: select correct read buffer' was still
missing a critical piece for the last round to use the correct read
buffer, resulting in a correctness issue that was missed by IOR but
still found by the IBM PE test team.  The fix was to correctly toggle
the buffer after the last read.
Signed-off-by: default avatarPaul Coffman <pkcoff@us.ibm.com>
Signed-off-by: Rob Latham's avatarRob Latham <robl@mcs.anl.gov>
parent e7e36fc7
......@@ -733,10 +733,10 @@ void ADIOI_P2PContigReadAggregation(ADIO_File fd,
}
if (currentReadBuf == 0) {
read_buf = read_buf0;
read_buf = read_buf1;
}
else {
read_buf = read_buf1;
read_buf = read_buf0;
}
}
......
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