]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.h
imsm: PPL support
authorArtur Paszkiewicz <artur.paszkiewicz@intel.com>
Wed, 29 Mar 2017 09:54:17 +0000 (11:54 +0200)
committerJes Sorensen <Jes.Sorensen@gmail.com>
Wed, 29 Mar 2017 15:32:49 +0000 (11:32 -0400)
commit2432ce9b3235f34d00ef6c28ef6b624a32b85530
treed707f5657bd71cf1ae23d108695dd154bb19fdcb
parent65884368cd42d79b567f12d3e84adc7009e12d72
imsm: PPL support

Enable creating and assembling IMSM raid5 arrays with PPL. Update the
IMSM metadata format to include new fields used for PPL.

Add structures for PPL metadata. They are used also by super1 and shared
with the kernel, so put them in md_p.h.

Write the initial empty PPL header when creating an array. When
assembling an array with PPL, validate the PPL header and in case it is
not correct allow to overwrite it if --force was provided.

Write the PPL location and size for a device to the new rdev sysfs
attributes 'ppl_sector' and 'ppl_size'. Enable PPL in the kernel by
writing to 'consistency_policy' before the array is activated.

Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
Assemble.c
Makefile
md_p.h
mdadm.h
super-intel.c
sysfs.c