Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Staging:D
mdadm
0172-imsm-New-disk-controller-domains.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0172-imsm-New-disk-controller-domains.patch of Package mdadm
From c6839718190d7418aadc858edafb8fb4b67287b0 Mon Sep 17 00:00:00 2001 From: Mariusz Tkaczyk <mariusz.tkaczyk@intel.com> Date: Thu, 7 Sep 2017 16:05:09 +0200 Subject: [PATCH] imsm: New disk controller domains Git-commit: c6839718190d7418aadc858edafb8fb4b67287b0 Patch-mainline: mdadm-4.0+ References: bsc#1069165, bsc#1069167, bsc#1068030 Add disk controller domain for nvme and vmd devices to prevent moving spares between different domains. Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@intel.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com> Signed-off-by: Coly Li <colyli@suse.de> --- super-intel.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/super-intel.c b/super-intel.c index 125c3a9..bbe7bc7 100644 --- a/super-intel.c +++ b/super-intel.c @@ -10749,6 +10749,10 @@ static const char *imsm_get_disk_controller_domain(const char *path) drv = "isci"; else if (hba && hba->type == SYS_DEV_SATA) drv = "ahci"; + else if (hba && hba->type == SYS_DEV_VMD) + drv = "vmd"; + else if (hba && hba->type == SYS_DEV_NVME) + drv = "nvme"; else drv = "unknown"; dprintf("path: %s hba: %s attached: %s\n", -- 2.13.6
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor