ceph/qa/workunits/rbd
Alex Elder 6bac8ac06c rbd/kernel.sh: quit looking for snapshot sysfs entries
The sysfs entries for snapshots went away a while ago, and this
script used them to verify sizes matched what was expected.

Instead, look at the mapped size of the snapshot in the places
that used to look for the image's snapshot sysfs files.

Also, switch over to using "udevadm settle" rather than a delay to
wait for udev to do its thing.  Insert them at more appropriate
places--right after "rmd map" commands and before and after the
"rbd unmap" calls.

Stop doing the manual refresh calls as well.  The osd will trigger
refreshes whenever the image size or shapshot context changes.

Finally, the cleanup routine is called initially, when there really
isn't expected to be anything to clean up.  Change the rbd commands
to run there conditionally, only if the target of the command
already exists.

Signed-off-by: Alex Elder <elder@inktank.com>
2013-05-30 18:38:53 -05:00
..
concurrent.sh rbd/concurrent.sh: probe rbd module at start 2013-05-30 10:10:16 -05:00
copy.sh rbd: fix qa tests to use --allow-shrink 2013-04-19 14:37:21 -07:00
diff_continuous.sh qa: rbd/diff_continuous.sh: use non-standard striping 2013-03-31 23:32:41 -07:00
diff.sh rbd: prevent import-diff if start snapshot is not already present 2013-03-31 23:32:41 -07:00
image_read.sh rbd image_read.sh: ensure rbd is loaded 2013-05-22 16:50:19 -05:00
import_export.sh rbd: prevent import of a dir 2013-05-21 12:16:24 -07:00
kernel.sh rbd/kernel.sh: quit looking for snapshot sysfs entries 2013-05-30 18:38:53 -05:00
map-snapshot-io.sh Merge branch 'next' 2013-02-19 14:53:54 -08:00
map-unmap.sh map-unmap.sh: use udevadm settle for synchronization 2012-12-14 15:58:39 -06:00
permissions.sh rbd: fix qa tests to use --allow-shrink 2013-04-19 14:37:21 -07:00
qemu-iotests.sh qa: pull qemu-iotests from ceph.com mirror 2013-04-16 16:40:14 -07:00
read-flags.sh librbd: add options to enable balanced or localized reads for snapshots 2013-05-12 19:31:22 -07:00
run_cli_tests.sh modified the perl file name 2013-02-12 10:55:39 -08:00
smalliobench.sh ceph-test: give binaries from ceph-test package useful names 2013-02-10 18:33:56 +01:00
test_librbd_python.sh qa: enable watch-notify dependent test 2013-02-25 15:59:48 -08:00
test_librbd.sh ceph-test: give binaries from ceph-test package useful names 2013-02-10 18:33:56 +01:00
test_lock_fence.sh test_lock_fence.sh, rbdrw.py: rbd lock/fence test 2013-02-25 18:17:40 -08:00