]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/nvmeof.py: Improve thrasher and rbd image creation
authorVallari Agrawal <vallari.agrawal@ibm.com>
Tue, 19 Nov 2024 06:06:09 +0000 (11:36 +0530)
committerVallari Agrawal <vallari.agrawal@ibm.com>
Tue, 26 Nov 2024 08:11:01 +0000 (13:41 +0530)
commit82118e19c4cc747c2a429df428ee97e2ffc49d1f
treeadad13933d3ca4da6715dde865a1e650e90f5d6e
parente1983c51020ab42844131dff102b5b7f19b90a4e
qa/tasks/nvmeof.py: Improve thrasher and rbd image creation

Create rbd images in one command using ";" to queue them,
instead of running "cephadm shell -- rbd create" again
and again for each image.

Improve the method to select to-be-thrashed daemons.
Use randint() and sample(), instead of weights/skip.

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
qa/suites/nvmeof/thrash/thrashers/nvmeof_thrash.yaml
qa/tasks/nvmeof.py