df6b55fd8c
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> |
||
---|---|---|
.. | ||
Makefile | ||
vbdev_lvol_rpc.c | ||
vbdev_lvol.c | ||
vbdev_lvol.h |