Spdk/test/unit/lib
gila df6b55fd8c bdev: make spdk_bdev_register_module_xxx function names predictable
Currently, the SPDK_BDEV_REGISTER_MODULE() macro uses __LINE__
to generate functions like spdk_bdev_module_register_187().

Typically, this is not a problem as these functions are not called directly
rather, they are only used as constructor functions to load the bdevs during
system startup.

There are languages however, (e.g rust) that require these functions to be
referenced explicitly to prevent them from being removed during the linking phase.

In order to reference them, having the names predictable (and potentially
changed per commit) makes things easier.

Change-Id: I15947ed9136912cfe2368db7e5bba833f1d94b15
Signed-off-by: gila <jeffry.molanus@gmail.com>
Reviewed-on: https://review.gerrithub.io/c/443536
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>
2019-02-11 23:56:53 +00:00
..
bdev bdev: make spdk_bdev_register_module_xxx function names predictable 2019-02-11 23:56:53 +00:00
blob thread: Optionally allow the current time to be passed to 2019-02-11 22:58:45 +00:00
blobfs thread: Optionally allow the current time to be passed to 2019-02-11 22:58:45 +00:00
event test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
ftl test/unit/ftl: Fix rwb_parallel unit test 2019-01-24 18:55:56 +00:00
ioat test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
iscsi test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
json json: add utilities function enabling itaration over JSON object 2018-10-18 16:07:37 +00:00
jsonrpc jsonrpc: fix received JSON buffer overwrite 2019-01-10 14:31:37 +00:00
log test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
lvol test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
nvme test/unit: remove unnecessary mock definitions 2019-01-13 00:48:20 +00:00
nvmf test/rdma_ut: fix valgrind issue. 2019-02-08 18:05:25 +00:00
reduce test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
scsi test: use test_env in scsi unit tests 2019-02-11 09:30:27 +00:00
sock test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
thread test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
util test: use test_env for bit_array_ut 2019-02-11 09:30:27 +00:00
vhost test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile ftl: Added unit tests for FTL library 2019-01-22 23:22:16 +00:00