diff options
author | Pawel Baldysiak <pawel.baldysiak@intel.com> | 2014-06-30 12:22:22 +0000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2014-07-08 11:39:23 +1000 |
commit | 0c21b485e4beb7bcfe631412a231f7c1ea1067bc (patch) | |
tree | e823b8b5ad90ac368616e065cd7b73fc4f046daa /platform-intel.h | |
parent | 120ec6f7b96455e42bdfa9131c0c9026c57eaf19 (diff) |
IMSM: Add warning message when assemble spanned container
Due to several changes in code assemble with disks
spanned between different controllers can be obtained
in some cases. After IMSM container will be assembled, check HBA of
disks, and print proper warning if mismatch is detected.
Signed-off-by: Pawel Baldysiak <pawel.baldysiak@intel.com>
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'platform-intel.h')
-rw-r--r-- | platform-intel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform-intel.h b/platform-intel.h index bcd84b7b..8226be35 100644 --- a/platform-intel.h +++ b/platform-intel.h @@ -204,6 +204,7 @@ struct sys_dev *find_intel_devices(void); const struct imsm_orom *find_imsm_capability(enum sys_dev_type hba_id); const struct imsm_orom *find_imsm_orom(void); int disk_attached_to_hba(int fd, const char *hba_path); +int devt_attached_to_hba(dev_t dev, const char *hba_path); char *devt_to_devpath(dev_t dev); int path_attached_to_hba(const char *disk_path, const char *hba_path); const char *get_sys_dev_type(enum sys_dev_type); |