This patchset is aimed to add write-intent bitmap support for IMSM metadata. Additional function in the superswitch (set_bitmap) is proposed as a place where the internal bitmaps configuration for non-native metadata can be performed (through sysfs). Adding the bitmap to existing volumes is implemented similarly like for the PPL functionality (through --update-subarray). The patchset was tested on HW and qemu. Jakub Radtke (8): Modify mdstat parsing for volumes with the bitmap Enable bitmap support for external metadata imsm: Write-intent bitmap support imsm: Adding a spare to an existing array with bitmap Add "bitmap" to allowed command-line values imsm: Update-subarray for write-intent bitmap Create: Block automatic enabling bitmap for external metadata Grow: Block reshape when external metadata and write-intent bitmap Assemble.c | 6 + Create.c | 11 + Grow.c | 24 +- mdadm.8.in | 13 +- mdadm.c | 4 +- mdadm.h | 3 + mdstat.c | 6 + super-intel.c | 679 +++++++++++++++++++++++++++++++++++++++++++++++++- 8 files changed, 725 insertions(+), 21 deletions(-) -- 2.26.2