[PATCH 1/2] env-11spare-migration: imsm requires IMSM_NO_PLATFORM set with loop devices

Subsystems: the rest

STALE5699d

2 messages, 2 authors, 2011-01-31 · open the first message on its own page

[PATCH 1/2] env-11spare-migration: imsm requires IMSM_NO_PLATFORM set with loop devices

From: Labun, Marcin <hidden>
Date: 2011-01-28 16:48:27

From 45b5bfb78e1e46f58b7176ca6ba32c0228f41d33 Mon Sep 17 00:00:00 2001
From: Marcin Labun <redacted>
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 <redacted>
---
 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

Re: [PATCH 1/2] env-11spare-migration: imsm requires IMSM_NO_PLATFORM set with loop devices

From: NeilBrown <hidden>
Date: 2011-01-31 00:35:49

On Fri, 28 Jan 2011 16:48:27 +0000 "Labun, Marcin" [off-list ref]
wrote:
quoted
From 45b5bfb78e1e46f58b7176ca6ba32c0228f41d33 Mon Sep 17 00:00:00 2001
From: Marcin Labun <redacted>
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 <redacted>
Applied, thanks.

NeilBrown

quoted hunk
---
 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
 }

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help