From: Dave Chinner <dchinner@xxxxxxxxxx> We can't run two tests that use dmthin at the same time because the device name is the same. hence they interfere with each other. Give dmthin devices their own per-test names to avoid this problem. Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx> --- common/dmthin | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/dmthin b/common/dmthin index 7107d5080..f2c00f5a7 100644 --- a/common/dmthin +++ b/common/dmthin @@ -9,16 +9,16 @@ # from a single scratch device # Backing data dev -DMTHIN_DATA_NAME="thin-data" +DMTHIN_DATA_NAME="thin-data.$seq" DMTHIN_DATA_DEV="/dev/mapper/$DMTHIN_DATA_NAME" # Backing metadata dev -DMTHIN_META_NAME="thin-meta" +DMTHIN_META_NAME="thin-meta.$seq" DMTHIN_META_DEV="/dev/mapper/$DMTHIN_META_NAME" # Backing pool dev (combination of above) -DMTHIN_POOL_NAME="thin-provision-pool" +DMTHIN_POOL_NAME="thin-provision-pool.$seq" DMTHIN_POOL_DEV="/dev/mapper/$DMTHIN_POOL_NAME" # Thin volume -DMTHIN_VOL_NAME="thin-vol" +DMTHIN_VOL_NAME="thin-vol.$seq" DMTHIN_VOL_DEV="/dev/mapper/$DMTHIN_VOL_NAME" _dmthin_cleanup() -- 2.45.2