]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: OSD: better explanation on 'max_count' calculation for 'osd bench'
authorJoao Eduardo Luis <joao.luis@inktank.com>
Wed, 25 Jun 2014 20:20:45 +0000 (21:20 +0100)
committerJoao Eduardo Luis <joao.luis@inktank.com>
Thu, 26 Jun 2014 00:00:36 +0000 (01:00 +0100)
commit802290d686ecfdab4bbd452831f7a84cd516289b
tree395f9cfa4b129a9e474dd13be447304a673f4dd8
parent4b0809a13eb363a15e52a6a57372a0a31a64cef8
osd: OSD: better explanation on 'max_count' calculation for 'osd bench'

'max_count' is the maximum number of bytes that we are to allow for an
'osd bench' command.  This value is a hard-cap that takes into account
a predefined throughput, the 'osd bench' duration and, for a rather large
block size, can be taken as the amount of bytes that we would ever be
able to write in that period of time.

The explanation wasn't appropriate enough, hence this patch, which
hopefully will avoid confusion in the future.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
src/osd/OSD.cc