Skip to content

Enable clustered raid testing in mdadm

Zhilong Liu linux-raid 1 version Applied

Status from this message: Applied!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8mdadm/test: correct the logic operation in save_logtest+4 -50 replies
2/8mdadm/test: move some functions to new source filetest tests/func.sh+352 -3490 replies
3/8mdadm/test: enable clustermd testing under clustermd_tests/clustermd_tests/cluster_conf clustermd_tests/func.sh+365 -00 replies
4/8mdadm/test: add '--testdir=' to switch choosing test suiteclustermd_tests/func.sh test+28 -60 replies
5/8mdadm/clustermd_tests: add test case to test creating cluster-raid1clustermd_tests/00r1_Create+50 -00 replies
6/8mdadm/clustermd_tests: add test case to test grow_resize cluster-raid1clustermd_tests/01r1_Grow_resize+23 -00 replies
7/8mdadm/clustermd_tests: add test case to test creating cluster-raid10clustermd_tests/00r10_Create+50 -00 replies
8/8mdadm/clustermd_tests: add test case to test grow_resize cluster-raid10clustermd_tests/01r10_Grow_resize+38 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] Enable clustered raid testing in mdadm

Hi Jes,

Since cluster-md feature has delivered and also served for SUSE distributions in a long time, this patch-set mainly supports to test the clustered-raid1/10, and provide simple example cases, the rest cases would be a new patch-set once the cluster-raid frame ideas got accepted.

By now, mdadm has two suites to cover testing traditional soft-raid and cluster raid, the new option '--testdir' would support to switch choosing which suite to test, leave core functions in 'test' file and move other functions to its source file under tests/ and clustermd_tests/ folder.

Thanks,
Zhilong

Zhilong Liu (8):
mdadm/test: correct the logic operation in save_log mdadm/test: move some functions to new source file mdadm/test: enable clustermd testing under clustermd_tests/ mdadm/test: add '--testdir=' to switch choosing test suite mdadm/clustermd_tests: add test case to test creating cluster-raid1 mdadm/clustermd_tests: add test case to test grow_resize cluster-raid1 mdadm/clustermd_tests: add test case to test creating cluster-raid10 mdadm/clustermd_tests: add test case to test grow_resize
cluster-raid10

 clustermd_tests/00r10_Create      |  50 +++++
 clustermd_tests/00r1_Create       |  50 +++++
 clustermd_tests/01r10_Grow_resize |  38 ++++
 clustermd_tests/01r1_Grow_resize  |  23 +++
 clustermd_tests/cluster_conf      |  43 +++++
 clustermd_tests/func.sh           | 320 ++++++++++++++++++++++++++++++++
 test                              | 380 +++-----------------------------------
 tests/func.sh                     | 348 ++++++++++++++++++++++++++++++++++
 8 files changed, 901 insertions(+), 351 deletions(-)
 create mode 100644 clustermd_tests/00r10_Create
 create mode 100644 clustermd_tests/00r1_Create
 create mode 100644 clustermd_tests/01r10_Grow_resize
 create mode 100644 clustermd_tests/01r1_Grow_resize
 create mode 100644 clustermd_tests/cluster_conf
 create mode 100644 clustermd_tests/func.sh
 create mode 100644 tests/func.sh
Signature · 1 line
2.6.6