[dm-devel] [mdadm PATCH] Create: tell udev md device is not ready when first created.

Martin Wilck mwilck at suse.com
Thu May 11 13:23:14 UTC 2017


On Sat, 2017-05-06 at 15:50 -0400, Phil Turmel wrote:
> 
> I think a case can be made for wiping it all during create, for
> consistency with other kernel behaviour.  If you allocate memory for
> userspace, or or create a new file on a filesystem with a specific
> size,
> linux goes to some length to deliver zeros in both cases.  Arguably,
> it
> should do so in MD, too.
> 
> However, changing the default behaviour would fit Linus' definition
> of a
> regression, I would think.

+1 for the last paragraph.

Waiting for the day when a big corporate user creates an MD mirror from
a disk with invaluable data and expects the data to persist, but mdadm
just wipes it all ...

Martin

-- 
Dr. Martin Wilck <mwilck at suse.com>, Tel. +49 (0)911 74053 2107
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)




More information about the dm-devel mailing list