apps: set NULL as RPC address in some appsSet opts.rpc_addr to NULL in SPDK applications that usually do notbenefit from starting RPC interface. These include programs in app,examples and test di
apps: set NULL as RPC address in some appsSet opts.rpc_addr to NULL in SPDK applications that usually do notbenefit from starting RPC interface. These include programs in app,examples and test directories.Some of the tests now require that we explicitly set RPC address,because some apps no longer use the default SPDK address.Change-Id: I417a3a756581f44c711257e6d2408d933b40386aSigned-off-by: Krzysztof Karas <krzysztof.karas@intel.com>Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22634Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>Community-CI: Mellanox Build Bot
show more ...
thread: add spdk_thread_is_app_thread()This simply returns true if the current spdk_threadis the app thread.This is a simpler replacement for:spdk_thread_get_app_thread() == spdk_get_thread()
thread: add spdk_thread_is_app_thread()This simply returns true if the current spdk_threadis the app thread.This is a simpler replacement for:spdk_thread_get_app_thread() == spdk_get_thread()Signed-off-by: Jim Harris <james.r.harris@intel.com>Change-Id: Ib8754d4ecb91ee8bfb024e8c0b74c42bb8282b32Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18355Community-CI: Mellanox Build BotTested-by: SPDK CI Jenkins <sys_sgci@intel.com>Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
thread: test SPDK spinlocks in an applicationThis exercises the parts of spdk_spin_*() that are difficult to test inunit tests. In particular, it tests multiple SPDK threads running ondifferent p
thread: test SPDK spinlocks in an applicationThis exercises the parts of spdk_spin_*() that are difficult to test inunit tests. In particular, it tests multiple SPDK threads running ondifferent pthreads contending for a lock and it tests pollers andmessages going off CPU with a lock held.Change-Id: I5cd6ce29c92c44ba63f47332fe339e59eed81553Signed-off-by: Mike Gerdts <mgerdts@nvidia.com>Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15534Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>Reviewed-by: Jim Harris <james.r.harris@intel.com>Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>