]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: Write empty PPL header if assembling regular clean array.
authorPawel Baldysiak <pawel.baldysiak@intel.com>
Thu, 28 Sep 2017 12:41:15 +0000 (14:41 +0200)
committerJes Sorensen <jsorensen@fb.com>
Mon, 2 Oct 2017 20:14:28 +0000 (16:14 -0400)
commit50b9c10da0e7c153744b548680147dc8cc7c4c72
treec1e8316ed928b60c7891084c23d04829036cccb4
parentb23d07503d5940086ea0884d09a737ccb0a9e435
imsm: Write empty PPL header if assembling regular clean array.

If array was initially assembled with kernel without PPL support -
initial header was never written to the drive.
If initial resync was completed and system is rebooted to kernel with
PPL support - mdadm prevents from assembling normal clean array
due to lack of valid PPL.
Write empty header when assemble normal clean array, so the
its assamble is no longer blocked.

Signed-off-by: Pawel Baldysiak <pawel.baldysiak@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
super-intel.c