linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 00/13] mdadm/test: Basic improvement for some cases
@ 2017-12-01  9:48 Zhilong Liu
  2017-12-01  9:48 ` [PATCH 01/13] mdadm/manpage: raid10 doesn't support resize 'far' arrays Zhilong Liu
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Zhilong Liu @ 2017-12-01  9:48 UTC (permalink / raw)
  To: jsorensen; +Cc: linux-raid, Zhilong Liu

Hi Jes,

The patches mainly did basic improvement for some test cases,
include of redraft 'Create' cases, add new case for test raid10
resize and fix failure cases.

This patch list just a demo, in order to ease for review, I
wrap it one case by one commit.

Welcome to do further discussion, and point out where need to
improve more.

And here paste the 'time' result with current changing, I'm not
sure whether or not the $(time) result is acceptable.

linux-apta:~/mdadm-test # for i in $(ls tests); do time ./test --tests=$i; done
Testing on linux-4.14.0-rc6-git-latest+ kernel
tests/00names... succeeded

real	0m13.504s
user	0m0.323s
sys	0m1.076s
Testing on linux-4.14.0-rc6-git-latest+ kernel
tests/00raid1... succeeded

real	1m0.990s
user	0m0.851s
sys	0m1.319s
Testing on linux-4.14.0-rc6-git-latest+ kernel
tests/00raid10... succeeded

real	7m56.384s
user	0m4.562s
sys	0m3.744s
Testing on linux-4.14.0-rc6-git-latest+ kernel
tests/00raid4... succeeded

real	1m10.928s
user	0m0.903s
sys	0m1.400s
Testing on linux-4.14.0-rc6-git-latest+ kernel
tests/00raid5... succeeded

real	9m59.301s
user	0m6.273s
sys	0m4.171s
Testing on linux-4.14.0-rc6-git-latest+ kernel
tests/00raid6... succeeded

real	1m10.823s
user	0m0.966s
sys	0m1.329s
Testing on linux-4.14.0-rc6-git-latest+ kernel
tests/02r10grow-resize... succeeded

real	2m32.888s
user	0m1.445s
sys	0m1.529s
Testing on linux-4.14.0-rc6-git-latest+ kernel
tests/02r5grow-resize... succeeded

real	0m28.764s
user	0m0.483s
sys	0m1.163s
Testing on linux-4.14.0-rc6-git-latest+ kernel
tests/02r6grow-resize... succeeded

real	0m20.796s
user	0m0.373s
sys	0m1.142s
Testing on linux-4.14.0-rc6-git-latest+ kernel
tests/05r1-internalbitmap... succeeded

real	0m30.596s
user	0m0.312s
sys	0m1.137s
Testing on linux-4.14.0-rc6-git-latest+ kernel
tests/05r1-n3-bitmapfile... succeeded

real	0m28.768s
user	0m0.324s
sys	0m1.128s

Thanks,
Zhilong

Zhilong Liu (13):
  mdadm/manpage: raid10 doesn't support resize 'far' arrays
  mdadm/test: did basic improvement for 00names
  mdadm/test: redraft the 00raid1 test case
  mdadm/test: redraft 00raid4 test case
  mdadm/test: redraft the 00raid5 test case
  mdadm/test: redraft the 00raid6 test case
  mdadm/test: redraft the 00raid10 test case
  mdadm/test: redraft 02r5grow and rename it as 02r5grow-resize
  mdadm/test: redraft 02r6grow and rename it as 02r6grow-resize
  mdadm/test: add new test 02r10grow-resize
  mdadm/test: did basic improvement for 05r1-internalbitmap
  mdadm/test: did basic improvement for 05r1-n3-bitmapfile
  mdadm/test: Change check nosync as check recovery in
    05r1-re-add-nosuper

 mdadm.8.in                |   2 +-
 tests/00names             |  13 +++---
 tests/00raid1             |  23 ++++++++---
 tests/00raid10            |  41 ++++++++++++------
 tests/00raid4             |  26 +++++++++---
 tests/00raid5             |  51 ++++++++++++-----------
 tests/00raid6             |  27 +++++++-----
 tests/02r10grow-resize    | 103 ++++++++++++++++++++++++++++++++++++++++++++++
 tests/02r5grow            |  53 ------------------------
 tests/02r5grow-resize     |  85 ++++++++++++++++++++++++++++++++++++++
 tests/02r6grow            |  36 ----------------
 tests/02r6grow-resize     |  69 +++++++++++++++++++++++++++++++
 tests/05r1-internalbitmap |  26 ++++++++----
 tests/05r1-n3-bitmapfile  |  25 +++++++----
 tests/05r1-re-add-nosuper |  16 ++++++-
 15 files changed, 422 insertions(+), 174 deletions(-)
 create mode 100644 tests/02r10grow-resize
 delete mode 100644 tests/02r5grow
 create mode 100644 tests/02r5grow-resize
 delete mode 100644 tests/02r6grow
 create mode 100644 tests/02r6grow-resize

-- 
1.8.5.6


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-12-01  9:48 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-01  9:48 [RFC PATCH 00/13] mdadm/test: Basic improvement for some cases Zhilong Liu
2017-12-01  9:48 ` [PATCH 01/13] mdadm/manpage: raid10 doesn't support resize 'far' arrays Zhilong Liu
2017-12-01  9:48 ` [PATCH 02/13] mdadm/test: did basic improvement for 00names Zhilong Liu
2017-12-01  9:48 ` [PATCH 03/13] mdadm/test: redraft the 00raid1 test case Zhilong Liu
2017-12-01  9:48 ` [PATCH 04/13] mdadm/test: redraft 00raid4 " Zhilong Liu
2017-12-01  9:48 ` [PATCH 05/13] mdadm/test: redraft the 00raid5 " Zhilong Liu
2017-12-01  9:48 ` [PATCH 06/13] mdadm/test: redraft the 00raid6 " Zhilong Liu
2017-12-01  9:48 ` [PATCH 07/13] mdadm/test: redraft the 00raid10 " Zhilong Liu
2017-12-01  9:48 ` [PATCH 08/13] mdadm/test: redraft 02r5grow and rename it as 02r5grow-resize Zhilong Liu
2017-12-01  9:48 ` [PATCH 09/13] mdadm/test: redraft 02r6grow and rename it as 02r6grow-resize Zhilong Liu
2017-12-01  9:48 ` [PATCH 10/13] mdadm/test: add new test 02r10grow-resize Zhilong Liu
2017-12-01  9:48 ` [PATCH 11/13] mdadm/test: did basic improvement for 05r1-internalbitmap Zhilong Liu
2017-12-01  9:48 ` [PATCH 12/13] mdadm/test: did basic improvement for 05r1-n3-bitmapfile Zhilong Liu
2017-12-01  9:48 ` [PATCH 13/13] mdadm/test: Change check nosync as check recovery in 05r1-re-add-nosuper Zhilong Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).