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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 45b5bfb78e1e46f58b7176ca6ba32c0228f41d33 Mon Sep 17 00:00:00 2001
From: Marcin Labun <marcin.labun@xxxxxxxxx>
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 <marcin.labun@xxxxxxxxx>
---
 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux