diff options
author | NeilBrown <neilb@suse.de> | 2012-10-30 04:28:25 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-11-20 02:07:30 +0100 |
commit | cb8f6859d1f0c18bdac10353e45eb14825b24cd2 (patch) | |
tree | 7e5982b1eeb650befe65e8aebdcc6a54c4bb53c1 /Incremental.c | |
parent | Tests: adjust for recent changes. (diff) | |
download | mdadm-cb8f6859d1f0c18bdac10353e45eb14825b24cd2.tar.xz mdadm-cb8f6859d1f0c18bdac10353e45eb14825b24cd2.zip |
IMSM - allow assembling any imsm array even without OROM.
It is important to check for compatibility with 'platform' or
Option ROM when creating or changing and array. However there is no
real need when simply assembling the array.
On some systems there are situations where the platform information is
not available. e.g. on some UEFI systems, UEFI is not available
during 'kdump' handling. This makes it impossible to assemble
an IMSM array to receive the dump.
So remove the requirements that the platform be visible to assemble
an IMSM array.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Incremental.c')
-rw-r--r-- | Incremental.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Incremental.c b/Incremental.c index 4c889b5f..bc23a885 100644 --- a/Incremental.c +++ b/Incremental.c @@ -127,6 +127,8 @@ int Incremental(char *devname, struct context *c, if (must_be_container(dfd)) { if (!st) st = super_by_fd(dfd, NULL); + if (st) + st->ignore_hw_compat = 1; if (st && st->ss->load_container) rv = st->ss->load_container(st, dfd, NULL); @@ -185,6 +187,7 @@ int Incremental(char *devname, struct context *c, st, c->verbose); goto out; } + st->ignore_hw_compat = 1; if (st->ss->compare_super == NULL || st->ss->load_super(st, dfd, NULL)) { if (c->verbose >= 0) |