Skip to content

Commit

Permalink
Work around upstream issue ceph#92
Browse files Browse the repository at this point in the history
Work around ceph#92.
  • Loading branch information
Alan Bishop committed Sep 16, 2016
1 parent 637c430 commit 28a433c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benchmark/radosbench.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ def _run(self, mode, run_dir, out_dir):
if self.concurrent_ops:
concurrent_ops_str = '--concurrent-ios %s' % self.concurrent_ops
#determine rados version
rados_version_str = subprocess.check_output(["rados", "-v"])
#rados_version_str = subprocess.check_output(["rados", "-v"])
rados_version_str, err = common.pdsh(settings.getnodes('head'), '/usr/bin/rados -v').communicate()
m = re.findall("version (\d+)", rados_version_str)
rados_version = int(m[0])

Expand Down

0 comments on commit 28a433c

Please sign in to comment.