ceph/qa/workunits/rbd
Alex Elder 97c6619d3f qa: update the rbd/concurrent.sh workunit
A few changes, now that a few rbd problems have been fixed.
First, the more substantive changes:
    - Generate a source file, and compare what's read back from rbd
      devices with the content of that file.
    - Write to the rbd device such that the written data spans
      an (assumed 4 MB) rbd object boundary, as well as starting
      and ending on non-page-aligned offsets.
    - Perform multiple reads on rbd devices: entirely within a range
      before any written data; beginning before but ending within
      written data; the exact written data (and validating what's
      read); beginning within written data but ending after it;
      reading after written data but within a written rbd object;
      and reading from an unwritten rbd object.
    - Have the sleep between iterations provide a non-integer value
      to avoid zero (or quantized) delays.

Also, some a little less substantive (but possibly informative):
    - Don't run with "set -x".  It produces a ton of noise that is
      not useful for this test.  This is an exerciser, looking
      really for system crashes during concurrent activity, and
      knowing which commands were (concurrently) active isn't going
      to help much in diagnosis.
    - Create two more directories, used to track the degree of
      concurrency (more or less) and the highest rbd id consumed.
      Files whose names are numbers are touched in each, and the
      highest at the end is the highest during the run.  This gets
      around issues passing environment info from sub-shells to the
      top-level shell.  As a bonus, it offers a better chance of
      avoiding problems due to concurrent update.
    - NAMESDIR is renamed NAMES_DIR, and it (and the others) is
      set up in the setup() function.
    - Increase the concurrency and iteration counts.
    - Move the default definitions before the ceph secrets stuff

Signed-off-by: Alex Elder <elder@inktank.com>
2013-01-31 11:55:59 -06:00
..
concurrent.sh qa: update the rbd/concurrent.sh workunit 2013-01-31 11:55:59 -06:00
copy.sh qa/workunits/rbd/copy.sh: use non-deprecated --image-format option 2013-01-26 13:46:12 -08:00
import_export.sh import_export.sh: sparse import export 2012-12-21 17:03:38 -08:00
kernel.sh
map-snapshot-io.sh qa: add test for rbd map and snapshots 2013-01-30 01:06:03 -08:00
map-unmap.sh map-unmap.sh: use udevadm settle for synchronization 2012-12-14 15:58:39 -06:00
permissions.sh mon: safety interlock for pool deletion 2013-01-26 13:45:12 -08:00
test_librbd_python.sh
test_librbd.sh