]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
tests: Making "objectstore" calls parallel in osd-scrub-repair.sh
authorErwan Velu <erwan@redhat.com>
Mon, 21 Mar 2016 10:47:51 +0000 (11:47 +0100)
committerErwan Velu <erwan@redhat.com>
Tue, 5 Apr 2016 07:36:25 +0000 (09:36 +0200)
commit0dccb6c1640cda4423ef5adc703d11c409d8ae51
tree781df0233cf92fa8adba7ad2aaedb2af8107f6b4
parent84197f16415fe0727d417ff2233ab923e69f4734
tests: Making "objectstore" calls parallel in osd-scrub-repair.sh

osd-scrub-repair is making several similar objectore calls in a
sequential way while they could be easily parallelized.

Each single objectore call can spent up to dozen of seconds so making
the call parallel is saving a lot of time while keeping the code pretty
simple.

This particular patch saves approx. 2 minutes on the actual code on a recent
laptop. The global running time of osd-scrub-repair drops from 9m33 to
7m37 !
Signed-off-by: Erwan Velu <erwan@redhat.com>
src/test/osd/osd-scrub-repair.sh