diff options
author | Labun, Marcin <Marcin.Labun@intel.com> | 2011-03-23 12:04:46 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-03-23 12:04:46 +1100 |
commit | df3346e675d731b4c847272fc40bb992ace7554e (patch) | |
tree | e94e40b2a5ca5323f1bdca7cd877ecb4567d4335 /mdadm.h | |
parent | 246cebdb7601fc41ee0cca9a5379cdd7dc072380 (diff) |
examine: allows to examine a disk metadata on non-metadata compliant systems
Allow for loading metadata from disk attached to non-metadata compliant
system. Affects mdadm --examine and guess_super.
Added ignore_hw_compat in supertype to pass information to load_super
handler. If ignore_hw_compat is set the handler should load metadata
also from disks that do not comply with metadata requirements (i.e. disk is not
attached to native controller, etc).
Signed-off-by: Marcin Labun <marcin.labun@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -827,7 +827,11 @@ struct supertype { int container_dev; /* devnum of container */ void *sb; void *info; - + int ignore_hw_compat; /* used to inform metadata handlers that it should ignore + HW/firmware related incompatability to load metadata. + Used when examining metadata to display content of disk + when user has no hw/firmare compatible system. + */ struct metadata_update *updates; struct metadata_update **update_tail; |