Whamcloud - gitweb
LU-5718 lnet: add offset for selftest brw 96/12496/6
authorLiang Zhen <liang.zhen@intel.com>
Wed, 21 Sep 2016 03:15:07 +0000 (23:15 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 5 Oct 2016 03:51:10 +0000 (03:51 +0000)
commitefcef00cb3043b5f8661174fd80626b3dc0edc50
tree4f33cc453eeed100216a4df3f72c18ffe2d57b7d
parent49db763c398c140121ccffbf2021039b72d8b8b4
LU-5718 lnet: add offset for selftest brw

In current lnet selftest, both client and server side bulk have
no offset and we can only test page aligned IO, this patch changed
this:

- user can set brw offset by lst add_test ... brw off=OFFSET ...
- offset is only effective on client side so far
- to simply implementation, offset needs to be eight bytes aligned

Signed-off-by: Liang Zhen <liang.zhen@intel.com>
Change-Id: I34690d2c8fbb627b827291afcd46d7aa59831a3f
Reviewed-on: http://review.whamcloud.com/12496
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/include/lnet/lnetst.h
lnet/selftest/brw_test.c
lnet/selftest/conrpc.c
lnet/selftest/framework.c
lnet/selftest/rpc.c
lnet/selftest/rpc.h
lnet/selftest/selftest.h
lnet/utils/lst.c