test/multipath: add COMPARE AND WRITE test

Confirm that data is consistent across paths when using the atomic
COMPARE AND WRITE operation.
This should be extended in future to issue the requests simultaneously
across both paths, in an attempt to trigger a read/write race.

Signed-off-by: David Disseldorp <ddiss@suse.de>
This commit is contained in:
David Disseldorp
2015-07-24 18:59:06 +02:00
parent b9dd210194
commit a569d55a0e
4 changed files with 108 additions and 1 deletions

View File

@@ -216,7 +216,8 @@ iscsi_test_cu_SOURCES = iscsi-test-cu.c \
test_writeverify16_dpo.c \
test_writeverify16_residuals.c \
test_multipathio_simple.c \
test_multipathio_reset.c
test_multipathio_reset.c \
test_multipathio_compareandwrite.c
endif