All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Refactor and revamp the 'test' script
@ 2017-06-14 13:02 Zhilong Liu
  2017-06-14 13:02 ` [PATCH v2 1/3] mdadm/test: Refactor and revamp " Zhilong Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Zhilong Liu @ 2017-06-14 13:02 UTC (permalink / raw)
  To: Jes.Sorensen; +Cc: linux-raid, Zhilong Liu

Hi, Jes;
  Mainly added the suggestions from v1. I'm awared that these patches
maybe still to improve, draft them just from my understanding. I would
improve for any defect, and thanks for your patience to point out.

Still need ideas about testdev():
- Now the 'test' has supported new arguments like --disks= to test physical
  devices, but testdev() in all cases was designed by loop mode, we should
  decide whether or not the 'disk' mode also supports the testdev() testing.
  Currently, I have ignored the testdev() testing and make it 'return 0' if
  has set --dev=disk mode in this patch version.

For --raidtype:
- I have devided the raid levels to
  raid0|linear|raid1|raid456|raid10|ddf|imsm
For --disks:
- It supports user to specify physical devices as follow.
  Example: ./test --dev=disk --disks=/dev/sda{5..16} or
           ./test --dev=disk --disks=/dev/sd{a..m}

Changes from v1:
- Refactor and improve all functions of test 'script'.
- Add --raidtype argument to support testing different raid
  level cases.
- Add --disks argument to support testing physical devices

v1 mail-tree:
[PATCH 0/3] mdadm/test: Refactor the codes of 'test' script
RFC patch mail-tree:
[PATCH RFC] test: revise 'test' and make it easier to understand


Thanks very much,
-Zhilong

Zhilong Liu (3):
  mdadm/test: Refactor and revamp 'test' script
  mdadm/test: Add '--raidtype=' to run different raidlevel cases
  mdadm/test: Add '--disks=' to support testing phsical devices

 test | 464 +++++++++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 285 insertions(+), 179 deletions(-)

-- 
2.6.6


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

end of thread, other threads:[~2017-07-10 17:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-14 13:02 [PATCH v2 0/3] Refactor and revamp the 'test' script Zhilong Liu
2017-06-14 13:02 ` [PATCH v2 1/3] mdadm/test: Refactor and revamp " Zhilong Liu
2017-06-28 22:20   ` Anthony Youngman
2017-06-29  2:42     ` Zhilong Liu
2017-07-10 17:31   ` Jes Sorensen
2017-06-14 13:02 ` [PATCH v2 2/3] mdadm/test: Add '--raidtype=' to run different raidlevel cases Zhilong Liu
2017-07-10 17:35   ` Jes Sorensen
2017-06-14 13:02 ` [PATCH v2 3/3] mdadm/test: Add '--disks=' to support testing phsical devices Zhilong Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.