]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Create: over-ride "start_ro" setting when creating an array.
authorNeilBrown <neilb@suse.de>
Wed, 15 May 2013 01:40:27 +0000 (11:40 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 15 May 2013 01:40:27 +0000 (11:40 +1000)
commita21e848a5578793a5ab6518390433b020785af3b
tree6fb7f3d01468e80f399f37e054a6a95c32ccdf8b
parent701d5b4ab5ad72f8998d4398d5b209fea877ce37
Create: over-ride "start_ro" setting when creating an array.

If module parameter start_ro is set, arrays start readonly.
This is OK when assembling, but is very surprising when creating
an array as the resync won't start.
So over-ride the setting (unless --read-only was given) make
arrays RW when created.

Signed-off-by: NeilBrown <neilb@suse.de>
Create.c