ceph/qa
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
..
btrfs qa/btrfs/test_rmdir_async_snap 2012-02-20 10:56:42 -08:00
client qa/client/gen-1774.sh 2012-01-12 12:59:07 -08:00
libceph trivial_libceph: need O_RDWR 2012-02-07 21:56:51 -08:00
mds qa: add a slightly more stressful anchortable test 2012-01-04 17:11:36 -08:00
mon/bootstrap qa: fix mon single_host_multi.sh test 2012-05-21 13:15:23 -07:00
qa_scripts added new cli tests 2013-02-11 17:29:03 -08:00
rbd doc: more c* -> ceph-* renames 2011-09-22 16:18:37 -07:00
rgw s3.sh: simple bug fix 2011-02-10 15:43:30 -08:00
workunits rbd/kernel.sh: quit looking for snapshot sysfs entries 2013-05-30 18:38:53 -05:00
loopall.sh qa: fix loopall, runallonce scripts 2011-06-13 13:31:35 -07:00
Makefile qa: add clone_range tool 2011-06-29 12:58:49 -07:00
run_xfstests_qemu.sh qa: fix quoting of wget URLs 2013-02-18 10:58:10 -08:00
run_xfstests.sh qa/run_xfstests.sh: use $TESTDIR instead of /tmp/cephtest 2013-02-23 08:38:10 -08:00
runallonce.sh qa: fix loopall, runallonce scripts 2011-06-13 13:31:35 -07:00
runoncfuse.sh c* -> ceph-* 2011-09-22 15:08:25 -07:00
runonkclient.sh
setup-chroot.sh Add the setup-chroot.sh script 2010-09-28 19:25:10 -07:00