]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: fix thread_offsets calculation of rbd bench 20590/head
authorHitoshi Kamei <hitoshi.kamei.xm@hitachi.com>
Fri, 2 Mar 2018 11:14:04 +0000 (20:14 +0900)
committerHitoshi Kamei <hitoshi.kamei.xm@hitachi.com>
Fri, 2 Mar 2018 11:14:04 +0000 (20:14 +0900)
commit75c5620bf6e28a4d822d58f06cc9e12119af2bff
treefdd4b5fedc41758f643a41c249e4b737f829a04f
parent01fc18c447d5a0d6538f6b47af9c79a591c64ffb
rbd: fix thread_offsets calculation of rbd bench

This patch fixes the calculation of the thread_offset vector
for sequential I/O of rbd bench command.

The rbd bench command doesn't access whole image of rbd,
because the some chunks are not assigned to threads.
This patch changes the way to calculate the thread_offsets
to assign all chunks to threads.

Signed-off-by: Hitoshi Kamei <hitoshi.kamei.xm@hitachi.com>
Cc: Mitsuo Hayasaka <mitsuo.hayasaka.hu@hitachi.com>
src/tools/rbd/action/Bench.cc