From: Omar Sandoval <osandov@osandov.com>
To: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Omar Sandoval <osandov@fb.com>, linux-block@vger.kernel.org
Subject: Re: [PATCH blktests v3 0/6] Add SRP initiator driver tests
Date: Tue, 10 Jul 2018 12:57:03 -0700 [thread overview]
Message-ID: <20180710195703.GA16252@vader> (raw)
In-Reply-To: <20180709225643.10537-1-bart.vanassche@wdc.com>
On Mon, Jul 09, 2018 at 03:56:37PM -0700, Bart Van Assche wrote:
> Hello Omar,
>
> As promised during LSF/MM, I have converted the srp-tests software to the
> blktests framework. Please consider this patch series for inclusion in the
> official blktests repository. This patch series is also available as a
> github pull request, namely https://github.com/osandov/blktests/pull/24.
>
> Thanks,
>
> Bart.
Awesome!
$ sudo ./check srp
srp/001 (Create and remove LUNs) [passed]
runtime 2.260s ... 1.902s
srp/002 (File I/O on top of multipath concurrently with logout and login (mq)) [passed]
runtime 39.992s ... 38.689s
srp/003 (File I/O on top of multipath concurrently with logout and login (sq)) [passed]
runtime 10.071s ... 34.998s
srp/004 (File I/O on top of multipath concurrently with logout and login (sq-on-mq)) [passed]
runtime 10.077s ... 35.385s
srp/005 (Direct I/O with large transfer sizes, cmd_sg_entries=255 and bs=4M) [passed]
runtime 10.093s ... 14.184s
srp/006 (Direct I/O with large transfer sizes, cmd_sg_entries=255 and bs=8M) [passed]
runtime 10.171s ... 12.890s
srp/007 (Direct I/O with large transfer sizes, cmd_sg_entries=1 and bs=4M) [passed]
runtime 9.949s ... 14.197s
srp/008 (Direct I/O with large transfer sizes, cmd_sg_entries=1 and bs=8M) [passed]
runtime 10.029s ... 12.751s
srp/009 (Buffered I/O with large transfer sizes, cmd_sg_entries=255 and bs=4M) [passed]
runtime 11.805s ... 14.138s
srp/010 (Buffered I/O with large transfer sizes, cmd_sg_entries=255 and bs=8M) [passed]
runtime 10.267s ... 13.941s
srp/011 (Block I/O on top of multipath concurrently with logout and login) [passed]
runtime 11.087s ... 33.344s
srp/012 (dm-mpath on top of multiple I/O schedulers) [passed]
runtime 10.141s ... 10.954s
srp/013 (Direct I/O using a discontiguous buffer) [passed]
runtime 10.161s ... 3.721s
As a further improvement, is it possible to configure multipathd to read
from a custom configuration path? That way we could, e.g., dump the
required multipath.conf in $TMPDIR instead of requiring the system-level
configuration.
If not, can you please make the group_requires automatically make the
symlink instead of requiring it? Obviously checking if there was already
a prod config file there.
I also had to apply the following patch:
diff --git a/tests/srp/002 b/tests/srp/002
index c07e76f..74c5fee 100755
--- a/tests/srp/002
+++ b/tests/srp/002
@@ -45,6 +45,7 @@ test_disconnect_repeatedly() {
}
test() {
+ : "${TIMEOUT:=30}"
trap 'trap "" EXIT; teardown' EXIT
setup && test_disconnect_repeatedly && echo Passed
}
diff --git a/tests/srp/003 b/tests/srp/003
index fc85e29..9b8eeb4 100755
--- a/tests/srp/003
+++ b/tests/srp/003
@@ -45,6 +45,7 @@ test_disconnect_repeatedly() {
}
test() {
+ : "${TIMEOUT:=30}"
trap 'trap "" EXIT; teardown' EXIT
setup && test_disconnect_repeatedly && echo Passed
}
diff --git a/tests/srp/004 b/tests/srp/004
index 9c37fd2..1e8766a 100755
--- a/tests/srp/004
+++ b/tests/srp/004
@@ -45,6 +45,7 @@ test_disconnect_repeatedly() {
}
test() {
+ : "${TIMEOUT:=30}"
trap 'trap "" EXIT; teardown' EXIT
setup && test_disconnect_repeatedly && echo Passed
}
diff --git a/tests/srp/011 b/tests/srp/011
index 3561662..df99da5 100755
--- a/tests/srp/011
+++ b/tests/srp/011
@@ -41,6 +41,7 @@ test_disconnect_repeatedly() {
}
test() {
+ : "${TIMEOUT:=30}"
trap 'trap "" EXIT; teardown' EXIT
setup && test_disconnect_repeatedly && echo Passed
}
Thanks, Bart!
next prev parent reply other threads:[~2018-07-10 19:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-09 22:56 [PATCH blktests v3 0/6] Add SRP initiator driver tests Bart Van Assche
2018-07-09 22:56 ` [PATCH blktests v3 1/6] dir-locals.el: Add c-mode settings Bart Van Assche
2018-07-11 7:32 ` Johannes Thumshirn
2018-07-09 22:56 ` [PATCH blktests v3 2/6] check: Make $FULL an absolute path Bart Van Assche
2018-07-09 22:56 ` [PATCH blktests v3 3/6] src/Makefile: Introduce the C_TARGETS variable Bart Van Assche
2018-07-09 22:56 ` [PATCH blktests v3 4/6] src/Makefile: Move -Wall from the C compilation rule to the $(CFLAGS) variable Bart Van Assche
2018-07-09 22:56 ` [PATCH blktests v3 5/6] Add the discontiguous-io test program Bart Van Assche
2018-07-09 22:56 ` [PATCH blktests v3 6/6] Add tests for the SRP initiator and target drivers Bart Van Assche
2018-07-10 19:57 ` Omar Sandoval [this message]
2018-07-10 20:40 ` [PATCH blktests v3 0/6] Add SRP initiator driver tests Bart Van Assche
2018-07-10 21:46 ` Bart Van Assche
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180710195703.GA16252@vader \
--to=osandov@osandov.com \
--cc=bart.vanassche@wdc.com \
--cc=linux-block@vger.kernel.org \
--cc=osandov@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox