mirror of
https://github.com/ceph/ceph
synced 2025-02-12 13:29:17 +00:00
Add the snaptrim duration to the json formatted output of the pg dump stats. Define methods for a PG to set the snaptrim begin time and then to calculate the total time spent to trim all the objects for the snaps in the snap_trimq for the PG. Tests: - Librados C and C++ API tests to verify the time spent for a snaptrim operation on a PG. These tests use the self-managed snaps APIs. - Standalone tests to verify snaptrim duration using rados pool snaps. Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com> |
||
---|---|---|
.. | ||
c2c | ||
crush | ||
erasure-code | ||
mgr | ||
misc | ||
mon | ||
osd | ||
osd-backfill | ||
scrub | ||
special | ||
ceph-helpers.sh | ||
README |
qa/standalone ============= These scripts run standalone clusters, but not in a normal way. They make use of functions ceph-helpers.sh to quickly start/stop daemons against toy clusters in a single directory. They are normally run via teuthology based on qa/suites/rados/standalone/*.yaml. You can run them in a git checkout + build directory as well: * The qa/run-standalone.sh will run all of them in sequence. This is slow since there is no parallelism. * You can run individual script(s) by specifying the basename or path below qa/standalone as arguments to qa/run-standalone.sh. ../qa/run-standalone.sh misc.sh osd/osd-dup.sh * Add support for specifying arguments to selected tests by simply adding list of tests to each argument. ../qa/run-standalone.sh "test-ceph-helpers.sh test_get_last_scrub_stamp"