iotest 151: add test-case that shows active mirror dead-lock
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Fri, 2 Jul 2021 21:16:35 +0000 (00:16 +0300)
committerKevin Wolf <kwolf@redhat.com>
Tue, 20 Jul 2021 11:14:45 +0000 (13:14 +0200)
commite0f69d83d5c5c039b133b60b5a7130dedeeaca42
tree2c42119d4ae7f05c172527f4be68e66640b54860
parentead3f1bff99f4a4227975a1f026f4091e50f199f
iotest 151: add test-case that shows active mirror dead-lock

There is a dead-lock in active mirror: when we have parallel
intersecting requests (note that non intersecting requests may be
considered intersecting after aligning to mirror granularity), it may
happen that request A waits request B in mirror_wait_on_conflicts() and
request B waits for A.

Look at the test for details. Test now dead-locks, that's why it's
disabled. Next commit will fix mirror and enable the test.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20210702211636.228981-3-vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/151
tests/qemu-iotests/151.out