]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Create: add support for RAID0 layouts.
authorNeilBrown <neilb@suse.de>
Mon, 4 Nov 2019 03:27:49 +0000 (14:27 +1100)
committerJes Sorensen <jsorensen@fb.com>
Mon, 2 Dec 2019 21:14:49 +0000 (16:14 -0500)
commit329dfc28debb58ffe7bd1967cea00fc583139aca
tree91b570ff204f3356a2617b5cbaecee133627d74f
parent6da53c0e2aab200605722795798b1e4f2352cd64
Create: add support for RAID0 layouts.

Since Linux 5.4 a layout is needed for RAID0 arrays with
varying device sizes.
This patch makes the layout of an array visible (via --examine)
and sets the layout on newly created arrays.
--layout=dangerous
can be used to avoid setting a layout so that they array
can be used on older kernels.

Tested-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Create.c
Detail.c
maps.c
md.4
mdadm.8.in
mdadm.c
mdadm.h
super0.c
super1.c