ceph/qa/workunits/rbd
Ilya Dryomov 673673f53d qa: krbd_fallocate.sh: zero can be munged to truncate
The test case is issuing discards that span two objects: the tail of
the first object is truncated, the head of the second object is zeroed.
These discards aren't serial, so there is a race:

  discard i ~ i + 1: truncate i, zero i + 1
  discard i + 1 ~ i + 2: truncate i + 1, zero i + 2

can be executed as

  truncate i + 1, zero i + 2, truncate i, zero i + 1

For object i + 1, the sequence ends up being truncate tail, then zero
head.  This zero op is munged to truncate on the OSD, resulting in size
0 instead of OBJECT_SIZE / 2.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-03-25 22:06:14 +01:00
..
cli_generic.sh qa/workunits/rbd: add parent migration case 2019-02-19 08:58:08 +00:00
concurrent.sh scripts: fix bash path in shebangs 2017-07-27 13:24:26 -06:00
diff_continuous.sh qa:rbd/workunits : Replace rbd bench-write with rbd bench --io-type write 2019-01-28 14:24:54 +02:00
diff.sh qa:rbd/workunits : Replace rbd bench-write with rbd bench --io-type write 2019-01-28 14:24:54 +02:00
huge-tickets.sh scripts: fix bash path in shebangs 2017-07-27 13:24:26 -06:00
image_read.sh test/librbd: use v1 images in the rbd unit tests 2018-03-06 09:07:32 +01:00
import_export.sh qa/workunits/rbd: fix unit formatting tests 2018-05-24 15:54:31 -04:00
issue-20295.sh tests: rbd: reproducer for rbd-on-EC issue 2017-08-03 22:54:17 -04:00
journal.sh qa:rbd/workunits : Replace rbd bench-write with rbd bench --io-type write 2019-01-28 14:24:54 +02:00
kernel.sh rbd: unified way to map images using different drivers 2018-01-29 09:34:11 +02:00
krbd_data_pool.sh test/librbd: use v1 images in the rbd unit tests 2018-03-06 09:07:32 +01:00
krbd_exclusive_option.sh qa: krbd_exclusive_option.sh: bump lock_timeout to 60 seconds 2018-06-20 18:22:36 +02:00
krbd_fallocate.sh qa: krbd_fallocate.sh: zero can be munged to truncate 2019-03-25 22:06:14 +01:00
krbd_latest_osdmap_on_map.sh qa: krbd latest-osdmap-on-map test 2018-02-25 11:40:19 +01:00
krbd_namespaces.sh qa: krbd namespaces test 2019-02-08 15:29:20 +01:00
krbd_stable_pages_required.sh scripts: fix bash path in shebangs 2017-07-27 13:24:26 -06:00
map-snapshot-io.sh qa: rbd/map-snapshot-io.sh: don't chown sysfs files 2016-05-11 19:59:42 +02:00
map-unmap.sh scripts: fix bash path in shebangs 2017-07-27 13:24:26 -06:00
merge_diff.sh test/librbd: use v1 images in the rbd unit tests 2018-03-06 09:07:32 +01:00
notify_master.sh qa/workunits: use relative path instead of wget from git 2016-12-15 15:10:28 -05:00
notify_slave.sh qa/workunits: use relative path instead of wget from git 2016-12-15 15:10:28 -05:00
permissions.sh qa/workunits/rbd: test self-managed snapshot create/remove permissions 2018-06-26 11:41:19 -04:00
qemu_dynamic_features.sh rbd: interlock object-map/fast-diff features together 2018-06-12 09:25:55 +08:00
qemu_rebuild_object_map.sh scripts: fix bash path in shebangs 2017-07-27 13:24:26 -06:00
qemu-iotests.sh qa/workunits/rbd: use more recent qemu-iotests that support Xenial 2016-12-10 20:42:52 -05:00
rbd_groups.sh tools/rbd: support group snap rollback CLI 2018-09-12 23:42:15 +08:00
rbd_mirror_fsx_compare.sh qa/workunits/rbd: wait max 2 hrs for all stress images to sync 2018-09-25 16:08:59 -04:00
rbd_mirror_fsx_prepare.sh qa/suites/rbd: rbd-mirror fsx stress test 2018-04-27 08:34:42 -04:00
rbd_mirror_ha.sh rbd: show info about mirror instance in image mirror status output 2018-11-05 22:34:39 +02:00
rbd_mirror_helpers.sh qa/workunits/rbd: delete pools before stopping rbd-mirror 2019-02-25 13:31:43 -05:00
rbd_mirror_stress.sh qa/suites/rbd: rbd-mirror fsx stress test 2018-04-27 08:34:42 -04:00
rbd_mirror.sh qa/workunits/rbd: add trash move/restore mirror test 2018-12-14 16:47:15 +00:00
rbd-ggate.sh rbd: simplify pool namespace positional argument handling 2019-01-28 14:36:44 -05:00
rbd-nbd.sh rbd: simplify pool namespace positional argument handling 2019-01-28 14:36:44 -05:00
read-flags.sh scripts: fix bash path in shebangs 2017-07-27 13:24:26 -06:00
run_devstack_tempest.sh qa/workunits/rbd: switch devstack to rocky branch and tempest to 19.0.0 tag 2018-10-12 08:40:44 -04:00
simple_big.sh qa: rbd/simple_big.sh: drop extraneous sudo 2016-05-13 17:57:12 +02:00
test_admin_socket.sh qa/workunits/rbd: remove sanity check in test_admin_socket.sh 2018-03-29 12:29:40 +03:00
test_librbd_api.sh
test_librbd_python.sh qa: rbd valgrind tests should use failure exit code 2017-06-02 08:55:08 -04:00
test_librbd.sh qa: rbd valgrind tests should use failure exit code 2017-06-02 08:55:08 -04:00
test_lock_fence.sh rbd: adjusted "lock list" JSON and XML formatted output 2018-01-12 11:31:07 -05:00
test_rbd_mirror.sh qa: rbd valgrind tests should use failure exit code 2017-06-02 08:55:08 -04:00
test_rbdmap_RBDMAPFILE.sh qa/workunits: remove ceph-detect-init from rbdmapfile test 2018-06-13 15:16:24 -04:00
verify_pool.sh librbd: validate data pool for self-managed snapshot support 2018-07-15 09:05:52 +03:00