History log of /external/fio/engines/rdma.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0cbbc3919c80d969926f499cb6045be3d5cd0305 01-Oct-2014 Jens Axboe <axboe@fb.com> Constify a few more hot paths

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/engines/rdma.c
de8f6de97438d5664cd8765e60102b9109a273e2 27-Sep-2013 Anatol Pomozov <anatol.pomozov@gmail.com> Fix misspellings using 'codespell' tool

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/engines/rdma.c
954cd73a9a93102c24afa869fbe67ac38af6e416 23-Jul-2013 Yufei Ren <yufei.ren@stonybrook.edu> Update for RDMA io engine's compatibility

Since the RDMA engine is not able to be successfully compiled, this
patch accommodates it to the upstream version of fio.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/engines/rdma.c
38b9354a7a9bf124589475c5d16c1b7c692c9b57 28-Feb-2013 Jens Axboe <axboe@kernel.dk> Fix compile of RDMA engine for SunOS 5.x

- byteswap.h include that doesn't exist there. Kill it, we
have no use for it.

- No RLIMIT_MEMLOCK on SunOS. The use in the engine is a bit
suspect, so not a problem if we don't have it. Add configure
check for that.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/engines/rdma.c
0ac5d398d9343ffba60821924fe0c386aee545b4 24-Jan-2013 Jens Axboe <axboe@kernel.dk> Drop EXTFLAG and lib references

They are picked up automatically now.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/engines/rdma.c
67bf982340d95ca98098ea050b54b4c7adb116c0 10-Jan-2013 Jens Axboe <axboe@kernel.dk> Add configure script

Get rid of all the fragile guessing and checking of features,
and roll a configure script instead.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/engines/rdma.c
222757cc7a5b2bd5165f67aad8074825e73dc8e4 24-Oct-2012 Jens Axboe <axboe@kernel.dk> rdma: cleanup and fixes

Mostly style cleanups, but also a fix for checking and using
OS rand if set. rdma should just always use the internal rand
generator.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/engines/rdma.c
ee88d05666760999be7428beda20f3b24d571d5b 24-Oct-2012 Jens Axboe <axboe@kernel.dk> rdma: fixup compile issue

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/engines/rdma.c
ea6209ad989dfb437aec487d26d4209bcf755d2c 24-Oct-2012 Jens Axboe <axboe@kernel.dk> rdma: use private random state

We can't reuse td->__random_state as that will impact the sequence
of offsets we generate for random IO.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/engines/rdma.c
7d7803fa331bec4b53edf7bfa3c70ccd7f2920d9 23-Oct-2012 Yufei Ren <renyufei83@gmail.com> rdma ioengine improvement

1) Use fio shipped reentrant and thread-safe rand to replace buggy rand().
2) Add a pause time period before client start committing IOs.
In SEND/RECV test, it's a good practice to setup the iodepth of
of the RECV side deeper than that of the SEND side to
avoid RNR (receiver not ready) error. The
SEND side may send so many unsolicited message before
RECV side commits sufficient recv buffers into recv queue.
This may lead to RNR error. Here, SEND side pauses for a while
during which RECV side commits sufficient recv buffers.
3) Fix server thread hanging bug.
For RDMA WRITE/READ test, No IO bytes are accumulated in server side
during test. Server thread indicates its task completion by changing
its state into `done' as an alternitive. Add `td->done' checking in
do_io().
4) Some comments revision.
export EXTFLAGS and EXTLIBS with '+=".
explanation on exchanging steps of RDMA ioengine control messages.

All these changes are tested in 40Gbps RoCE and 56Gbps InfiniBand testbeds.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/engines/rdma.c
a05d62b28f18e37256f2698106169b1177708cc1 15-Mar-2012 Yufei Ren <renyufei83@gmail.com> rdma engine graceful teardown

For rdma ioengine's one side operation, RDMA_WRITE or RDMA_READ,
server side gets a message from client side that the task is finished.
In previous version, the server simply exit() in td_io_commit() which
causes segmentation fault in thread mode or process hanging in process
mode. This patch achieves graceful tear down by setting up `td->done`
as UDP engine did.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/engines/rdma.c
e07f72d341ded8cfa539abf377322ab1b7473960 07-Aug-2011 Bart Van Assche <bvanassche@acm.org> RDMA I/O engine: Fix compiler warnings

Fix 32-bit mode compiler warnings and a warning about an unused variable.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: Ren Yufei <renyufei83@yahoo.com.cn>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/engines/rdma.c
85286c5cf23ce9fcb207ec9fffb775ead2b7218b 07-Aug-2011 Bart Van Assche <bvanassche@acm.org> RDMA engine: rewrite header comment block and man page section

Spelling and grammar fixes for the header comment. Also make it clear that
users can choose between the RDMA software provided by their Linux distributor
and OFED. Update a related paragraph in the man page too.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: Ren Yufei <renyufei83@yahoo.com.cn>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/engines/rdma.c
76cc522425be0e13f06c49bfc3f5b7ac7032a777 07-Aug-2011 Bart Van Assche <bvanassche@acm.org> RDMA engine spelling fix: change FIO_RDMA_MAX_IO_DPETH into FIO_RDMA_MAX_IO_DEPTH

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: Ren Yufei <renyufei83@yahoo.com.cn>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/engines/rdma.c
b6cf38f0aed8b12db1c8fd520c09e5a74066ebc9 02-Aug-2011 Yufei Ren <renyufei83@gmail.com> RDMA update

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/engines/rdma.c
21b8aee865f0d3960687ce6ba7385e5977f45061 01-Aug-2011 ren yufei <renyufei83@yahoo.com.cn> RDMA IO engine

I have hacked an rdma ioengine based on OFED for fio which could test
both rdma memory semantic (rdma_write/rdma_read) and channel semantic
(send/recv). Would you like to merge this engine into fio?

notes
1) RDMA engine works in IB, iWarp and RoCE.
2) RDMA engine is disable by default. To enable it, execute the following
before compile:

$ export EXTFLAGS="-DFIO_HAVE_RDMA"
$ export EXTLIBS="-libverbs -lrdmacm"

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/engines/rdma.c