Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6677 from jack-changtao/test-bench
rados: bench: fix off-by-one to avoid writing past object_size Reviewed-by: Kefu Chai <kchai@redhat.com>
- Loading branch information
Showing
2 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -195,7 +195,8 @@ void Bencher::run_bench() | |
default: { | ||
assert(0); | ||
} | ||
} | ||
} | ||
ops++; | ||
} | ||
drain_ops(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters