mirror of
https://github.com/ceph/ceph
synced 2025-03-06 16:28:28 +00:00
Merge pull request #16590 from LianneWang/master
ceph_test_rados: max_stride_size must be more than min_stride_size Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
commit
659a63f7af
@ -487,8 +487,8 @@ int main(int argc, char **argv)
|
||||
<< "\tWrite stride min: " << min_stride_size << std::endl
|
||||
<< "\tWrite stride max: " << max_stride_size << std::endl;
|
||||
|
||||
if (min_stride_size > max_stride_size) {
|
||||
cerr << "Error: min_stride_size cannot be more than max_stride_size"
|
||||
if (min_stride_size >= max_stride_size) {
|
||||
cerr << "Error: max_stride_size must be more than min_stride_size"
|
||||
<< std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user