diff options
author | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2021-05-17 16:39:02 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2021-05-26 13:26:32 +0200 |
commit | 8662f92d71f1f88589061272606b8b673d31de05 (patch) | |
tree | d18bc448c4c23390d7b01351c4999444be27da3a /platform-intel.h | |
parent | imsm: add devpath_to_char method (diff) | |
download | mdadm-8662f92d71f1f88589061272606b8b673d31de05.tar.xz mdadm-8662f92d71f1f88589061272606b8b673d31de05.zip |
imsm: Limit support to the lowest namespace
First namespace existence is not quaranted by NVMe specification.
Instead first the smallest one shall be chosen.
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'platform-intel.h')
-rw-r--r-- | platform-intel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform-intel.h b/platform-intel.h index 45d98cdd..6238d23f 100644 --- a/platform-intel.h +++ b/platform-intel.h @@ -254,6 +254,6 @@ const struct orom_entry *get_orom_entry_by_device_id(__u16 dev_id); const struct imsm_orom *get_orom_by_device_id(__u16 device_id); struct sys_dev *device_by_id(__u16 device_id); struct sys_dev *device_by_id_and_path(__u16 device_id, const char *path); -int imsm_is_nvme_supported(int disk_fd, int verbose); int is_multipath_nvme(int disk_fd); +int imsm_is_nvme_namespace_supported(int disk_fd, int verbose); char *vmd_domain_to_controller(struct sys_dev *hba, char *buf); |