[X,5/6] UBUNTU: SAUCE: md/raid0: Link to wiki with guidance on multi-zone RAID0 layout migration
diff mbox series

Message ID 20200115091428.32502-6-stefan.bader@canonical.com
State New
Headers show
  • (Re)apply RAID0 layout support
Related show

Commit Message

Stefan Bader Jan. 15, 2020, 9:14 a.m. UTC
From: dann frazier <dann.frazier@canonical.com>

BugLink: https://bugs.launchpad.net/bugs/1850540

Helping an administrator understand this issue and how to deal with it
requires more text than achievable in a kernel error message. Let's
clarify the issue in the Ubuntu wiki, and have the kernel emit a link
to it.

I've submitted a similar change upstream:
Should it get merged, we should consider replacing this patch with that one.
Otherwise, it is probably safe to drop this SAUCE patch after focal.

Signed-off-by: dann frazier <dann.frazier@canonical.com>
(cherry picked from bionic/18.04 submission into xenial/16.04)
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
 drivers/md/raid0.c | 2 ++
 1 file changed, 2 insertions(+)

diff mbox series

diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c
index 8636d9d2ef8e..b686b092239f 100644
--- a/drivers/md/raid0.c
+++ b/drivers/md/raid0.c
@@ -153,6 +153,8 @@  static int create_strip_zones(struct mddev *mddev, struct r0conf **private_conf)
 		pr_err("md/raid0:%s: cannot assemble multi-zone RAID0 with default_layout setting\n",
 		pr_err("md/raid0: please set raid0.default_layout to 1 or 2\n");
+		pr_err("md/raid0: Read the following page for more information:\n");
+		pr_err("md/raid0: https://wiki.ubuntu.com/Kernel/Raid0LayoutMigration\n");
 		err = -ENOTSUPP;
 		goto abort;