mirror of
https://github.com/ceph/ceph
synced 2025-01-10 21:20:46 +00:00
6bac8ac06c
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> |
||
---|---|---|
.. | ||
concurrent.sh | ||
copy.sh | ||
diff_continuous.sh | ||
diff.sh | ||
image_read.sh | ||
import_export.sh | ||
kernel.sh | ||
map-snapshot-io.sh | ||
map-unmap.sh | ||
permissions.sh | ||
qemu-iotests.sh | ||
read-flags.sh | ||
run_cli_tests.sh | ||
smalliobench.sh | ||
test_librbd_python.sh | ||
test_librbd.sh | ||
test_lock_fence.sh |