All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] imsm: More precise message when spanned raid is created
@ 2017-11-08 14:43 Michal Zylowski
  0 siblings, 0 replies; only message in thread
From: Michal Zylowski @ 2017-11-08 14:43 UTC (permalink / raw)
  To: linux-raid; +Cc: jes.sorensen, Michal Zylowski

When RAID is created between VMD and SATA disks, printed message is
"Mixing devices attached to different VMD domains is not allowed". This message
is unclear and misleading because creating spanned containers between different
VMD domains is allowed. Set error message to more precise text.

Signed-off-by: Michal Zylowski <michal.zylowski@intel.com>
---
 super-intel.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/super-intel.c b/super-intel.c
index b561fe2..2f912f2 100644
--- a/super-intel.c
+++ b/super-intel.c
@@ -4500,8 +4500,7 @@ static int find_intel_hba_capability(int fd, struct intel_super *super, char *de
 				hba = hba->next;
 			}
 			fprintf(stderr, ").\n"
-				"    Mixing devices attached to different %s is not allowed.\n",
-				hba_name->type == SYS_DEV_VMD ? "VMD domains" : "controllers");
+				"    Mixing devices attached to different controllers is not allowed.\n");
 		}
 		return 2;
 	}
-- 
2.7.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-08 14:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-08 14:43 [PATCH] imsm: More precise message when spanned raid is created Michal Zylowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.