Add error to indicate changed behavior to users

master
Julian M. Kunkel 2020-11-06 10:38:50 +00:00
parent af0753d8ad
commit a59e98d7a6
1 changed files with 2 additions and 0 deletions

View File

@ -1586,6 +1586,8 @@ static void ValidateTests(IOR_param_t * test)
}
if (test->blockSize < test->transferSize)
ERR("block size must not be smaller than transfer size");
if (test->randomOffset && test->blockSize == test->transferSize)
ERR("IOR will randomize access within a block and repeats the same pattern for all segments, therefore choose blocksize > transferSize");
/* specific APIs */
if ((strcasecmp(test->api, "MPIIO") == 0)