]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: avoid overflow of ios and clarify io-size limit for bench 42802/head
authorhaoyixing <haoyixing@kuaishou.com>
Mon, 16 Aug 2021 10:55:24 +0000 (18:55 +0800)
committerhaoyixing <haoyixing@kuaishou.com>
Tue, 24 Aug 2021 02:28:50 +0000 (10:28 +0800)
commit4a287e8fcd10c70b3b41854c9af1200b508c8427
tree4dcc2d34c01617f5a109783ae785bc99105c6181
parentf8167f688398d70fa3d6720b67cde6e313f31b11
rbd: avoid overflow of ios and clarify io-size limit for bench

When doing rbd bench, we record done ios to print progress, current it's unsigned.
Suppose we do a bench of io-size 512B and io-total 4T, that means a total number of
8G ios which causes an overflow.
And we don't support io-size greater than 4G, so change help message.

Signed-off-by: haoyixing <haoyixing@kuaishou.com>
src/test/cli/rbd/help.t
src/tools/rbd/action/Bench.cc