From 50dfafb30af1bf4df1853d569091df4d014670b7 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 26 Jun 2011 14:57:11 +0000 Subject: [PATCH] ib_srpt: Update test documentation git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3633 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/Testing.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/srpt/Testing.txt b/srpt/Testing.txt index 0ed24ba00..73cb1583e 100644 --- a/srpt/Testing.txt +++ b/srpt/Testing.txt @@ -128,5 +128,16 @@ Index: srpt/src/ib_srpt.c --norandommap --ioengine=aio --directory=/mnt --name=test --thread \ --numjobs=80 --runtime=30 +* Test whether aborting multipart RDMA transfers works correctly as follows: + - On the target, reload ib_srpt with srpt_sq_size set to 64. + - On the initiator, run a direct I/O test with large block sizes, e.g. 128 KB. + - Verify that on the target kernel messages similar to the following are + logged frequently: + ib_srpt: ***ERROR***: srpt_perform_rdmas[2966]: ib_post_send() returned + -12 for 1/2 + - On the target, unload and reload the ib_srpt kernel module. + - Verify that no kernel crash occurs on the target. + - Repeat the above a few times. + * Repeat the above tests for all three threading modes: thread=0, thread=1 and thread=2.