[PATCH 1/2] env-11spare-migration: imsm requires IMSM_NO_PLATFORMset with loop devices
am 28.01.2011 17:48:27 von Marcin.LabunFrom 45b5bfb78e1e46f58b7176ca6ba32c0228f41d33 Mon Sep 17 00:00:00 2001
From: Marcin Labun
Date: Fri, 28 Jan 2011 17:22:11 +0100
Subject: [PATCH 1/2] env-11spare-migration: imsm requires IMSM_NO_PLATFORM set with loop devices
By default IMSM checks if member device belongs to AHCI or ISCI controller.
When using loop devices one must disable these checks by setting
IMSM_NO_PLATFORM.
Signed-off-by: Marcin Labun
---
tests/env-11spare-migration | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tests/env-11spare-migration b/tests/env-11spare-migration
index 7bf468d..d5eb76d 100644
--- a/tests/env-11spare-migration
+++ b/tests/env-11spare-migration
@@ -1,9 +1,11 @@
setup_env() {
export IMSM_DEVNAME_AS_SERIAL=1
export IMSM_TEST_OROM=1
+ export IMSM_NO_PLATFORM=1
}
reset_env() {
unset IMSM_DEVNAME_AS_SERIAL
unset IMSM_TEST_OROM
+ unset IMSM_NO_PLATFORM
}
--
1.6.4.2
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html