Re: cannot examine IMSM metadata on a disk in non-IMSM compliant system

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

 



On Tue, 22 Mar 2011 16:50:10 +0000 "Labun, Marcin" <Marcin.Labun@xxxxxxxxx>
wrote:

> >From 492192b1777936ccaf745aeb73f83f55c12a5a37 Mon Sep 17 00:00:00 2001
> From: Marcin Labun <marcin.labun@xxxxxxxxx>
> Date: Tue, 22 Mar 2011 17:39:57 +0100
> Subject: [PATCH 0/2] cannot examine IMSM metadata on a disk in non-IMSM compliant system
> 
> IMSM metadata handlers have following requirements:
> - disk is attached to Intel controller (ahci or SAS)
> - the whole disk set in one RAID volume belongs to the same controller
> - IMSM OROM/EFI properties available
> 
> In non-IMSM system a user can always set IMSM_NO_PLATFORM=1, so above requirements need not to be met.
> 
> This series allows a user can check if there is any IMSM metadata on the disk in non-IMSM compatible system without setting IMSM_NO_PLATFORM.
> Please take a look at my patches for this issue.
> The patches are still under testing, only basics has been checked.

I've applied these for now as it provide the basic functionality I wanted and
looks quite simple and so unlikely to break anything.
However I will almost certainly change it after 3.2.1 is out.

I would much rather that if the metadata handler sees metadata that is mostly
recognises but for some reason cannot handle perfectly, then it sets a flag
of some sort in mdinfo.
Then 'examine' can report that flag, and 'assemble' can refuse to assemble if
that flag is present.
But that can wait until later.

Thanks,
NeilBrown


> 
> Thanks,
> Marcin Labun
> 
> 
> Marcin Labun (2):
>   examine: allows to examine a disk metadata on non-metadata compliant
>     systems
>   super-intel: enable loading metadata from non-IMSM compliant disks
> 
>  Examine.c     |    2 ++
>  mdadm.h       |    6 +++++-
>  super-intel.c |   16 ++++++++++------
>  util.c        |    3 +++
>  4 files changed, 20 insertions(+), 7 deletions(-)
> 
> --
> 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



-- 

--
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