Re: md/raid0: avoid RAID0 data corruption due to layout confusion. ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I just wanted to point a small thing:

On 2019-10-12 01:37, Song Liu wrote:
>
> David, you may consider adding "raid0.default_layout=?" to your kernel
> command line options.
> 
> Song

Currently there is a slight mis-match in the actual kernel module:
the warning message display "raid.default_layout=?" (missing zero)
instead of "raid0..." (how indeed it should be used).

Thank you very much.

PS: I'm a newbie I hope my message isn't improper.

--- drivers/md/raid0.c.orig	2019-10-14 11:16:06.083342861 +0200
+++ drivers/md/raid0.c	2019-10-14 11:16:46.744319509 +0200
@@ -154,7 +154,7 @@
 	} else {
 		pr_err("md/raid0:%s: cannot assemble multi-zone RAID0 with default_layout setting\n",
 		       mdname(mddev));
-		pr_err("md/raid0: please set raid.default_layout to 1 or 2\n");
+		pr_err("md/raid0: please set raid0.default_layout to 1 or 2\n");
 		err = -ENOTSUPP;
 		goto abort;
 	}

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux