numam-spdk/lib/bdev/pmem
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_pmem_rpc.c bdev: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
bdev_pmem.c bdev: make spdk_bdev_register_module_xxx function names predictable 2019-02-11 23:56:53 +00:00
bdev_pmem.h lib: fix typos in the lib directory 2018-08-24 17:15:12 +00:00
Makefile Make: remove unused CFLAGS 2018-02-21 13:10:29 -05:00