0f842e860e
Decrementing struct spdk_jsonrpc_server_conn::outstanding_requests should be atomic since this variable are accesed from multiple threads. Istead of that just route the request back to the server thread with nothing to send. As we are here change spdk_jsonrpc_server_send_response() to take only struct spdk_jsonrpc_request parameter. Change-Id: I9b856e7d530355cea43a29f58f4f9405e7e35fc2 Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-on: https://review.gerrithub.io/422124 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> |
||
---|---|---|
.. | ||
include | ||
lib | ||
Makefile | ||
unittest.sh |