Spdk/test
Darek Stojaczyk f4cb6c90b4 memory: register each hotplugged page separately
The problem with registering the entire hotplugged memory
region is that it won't necessarily be unregistered in one
go. Registering each hugepage separately solves that
problem.

This puts a limitation on the number of pages that can
be allocated when using RDMA. We'll hopefully lift this
limitation sometime in future - probably levereging
ibv_rereg_mr, but for now we'll have to resort to either:

 a) using 1GB hugepages
 b) preallocating memory (with [-s|--mem-size <size>] app
    param) as it will be registered as just one region no
    matter what size it is. This memory won't be returned
    to the system until the SPDK app exits.

Change-Id: I6de997fb4901b772730ba6fe995dcc0640b85749
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/428716
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-10-11 18:59:11 +00:00
..
app make: simplify rdma dependency linking 2018-09-14 22:56:46 +00:00
bdev Check file permissions in the check_format script 2018-10-04 23:08:12 +00:00
blobfs scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
blobstore blobstore: Add tests for bdev_blob_queue_io in blobstore 2018-09-18 16:38:49 +00:00
common Check file permissions in the check_format script 2018-10-04 23:08:12 +00:00
config_converter scripts: add config converter 2018-09-18 15:24:40 +00:00
cpp_headers build: add @: to remaining 'all' targets 2018-02-14 17:38:25 -05:00
env memory: register each hotplugged page separately 2018-10-11 18:59:11 +00:00
event test/event_perf: use less memory 2018-07-26 05:28:52 +00:00
ioat ioat: remove ioat kperf kernel driver test harness 2018-04-30 17:11:53 +00:00
iscsi_tgt QoS/Bdev: add the RPC support for the bandwidth rate limit 2018-10-09 18:26:44 +00:00
json_config Check file permissions in the check_format script 2018-10-04 23:08:12 +00:00
lvol Check file permissions in the check_format script 2018-10-04 23:08:12 +00:00
nvme CONFIG: add missing CONFIG_ options 2018-10-04 21:31:42 +00:00
nvmf test/nvmf: Expand shutdown test 2018-10-04 22:59:57 +00:00
pmem Check file permissions in the check_format script 2018-10-04 23:08:12 +00:00
spdkcli QoS/Bdev: add the RPC support for the bandwidth rate limit 2018-10-09 18:26:44 +00:00
unit sock: Update the spdk_sock_getaddr function. 2018-10-11 04:58:49 +00:00
vhost test/vhost: test vm booting from vhost controller 2018-10-04 23:27:40 +00:00
Makefile test: move lib/json up to test app directory 2018-03-29 00:31:24 -04:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00