This patchset serves three main purposes. Block updates on active volume with update-subarray and split subset of options for --update and --update-subarray. Remove dead code from super-ddf. Change context->update from string to enum. Mateusz Kusiak (10): mdadm: Add option validation for --update-subarray Fix --update-subarray on active volume Add code specific update options to enum. super-ddf: Remove update_super_ddf. super0: refactor the code for enum super1: refactor the code for enum super-intel: refactor the code for enum Change update to enum in update_super and update_subarray Manage&Incremental: code refactor, string to enum Change char* to enum in context->update & refactor code Assemble.c | 46 ++++++++-------- Examine.c | 2 +- Grow.c | 17 +++--- Incremental.c | 8 +-- Manage.c | 42 ++++++++------ ReadMe.c | 31 +++++++++++ maps.c | 31 +++++++++++ mdadm.c | 124 ++++++++++++++--------------------------- mdadm.h | 65 +++++++++++++++++++--- super-ddf.c | 70 ----------------------- super-intel.c | 49 ++++++++++------- super0.c | 103 ++++++++++++++++++++-------------- super1.c | 150 +++++++++++++++++++++++++++++--------------------- 13 files changed, 399 insertions(+), 339 deletions(-) -- 2.26.2