Skip to content

Instantly share code, notes, and snippets.

@alram
Created November 15, 2013 19:14
Show Gist options
  • Save alram/7489958 to your computer and use it in GitHub Desktop.
Save alram/7489958 to your computer and use it in GitHub Desktop.
osd: fix bench typo
diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc
index b67e406..c714cc7 100644
--- a/src/osd/OSD.cc
+++ b/src/osd/OSD.cc
@@ -4015,7 +4015,7 @@ void OSD::do_command(Connection *con, tid_t tid, vector<string>& cmd, bufferlist
int64_t bsize;
// default count 1G, size 4MB
cmd_getval(g_ceph_context, cmdmap, "count", count, (int64_t)1 << 30);
- cmd_getval(g_ceph_context, cmdmap, "bsize", bsize, (int64_t)4 << 20);
+ cmd_getval(g_ceph_context, cmdmap, "size", bsize, (int64_t)4 << 20);
bufferlist bl;
bufferptr bp(bsize);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment