Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ceph_test_rados: max_stride_size must be more than min_stride_size #16590

Merged
merged 1 commit into from Jul 28, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/test/osd/TestRados.cc
Expand Up @@ -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;
}
Expand Down